Transparent colors with color-mix()
color-mix() can derive a translucent version of any color token, even when the token is not stored as separate RGB channels.
.focus-ring {
outline: 3px solid color-mix(
in oklch,
var(--accent) 55%,
transparent
);
}
The interpolation color space changes the result. Use a deliberate space and test the derived color against the real background.