#B668E2#B668E2
#B668E2 is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.5% C 0.188 H 311.8°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #B668E2 |
|---|---|
| RGB | rgb(182, 104, 226) |
| HSL | hsl(278, 68%, 65%) |
| HSV | hsv(278, 54%, 89%) |
| CMYK | cmyk(19.5%, 54%, 0%, 11.4%) |
| CIE-LAB | lab(57.40, 51.84, -49.94) |
| CIE-LCH | lch(57.40, 71.98, 316.07°) |
| OKLab | oklab(65.46% 0.1251 -0.1398) |
| OKLCH | oklch(65.46% 0.188 311.8) |
| XYZ | xyz(37.9667, 25.3375, 74.8274) |
| Luminance | 0.2534 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.71
Bright Lilac
#C95EFB
ΔE00 4.30
Bright Lavender
#C760FF
ΔE00 4.49
Easter Purple
#C071FE
ΔE00 4.71
Light Purple
#BF77F6
ΔE00 4.71
Mediumorchid
#BA55D3
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B668E2 #94E268
analogous
#7968E2 #B668E2 #E268D1
triadic
#B668E2 #E2B668 #68E2B6
tetradic
#B668E2 #E27968 #94E268 #68D1E2
square
#B668E2 #E27968 #94E268 #68D1E2
split-complementary
#B668E2 #D1E268 #68E279
monochromatic
#7B21AE #9D35D8 #B668E2 #CF9BEC #E8CFF6
Accessibility & contrast
On white
3.46
#B668E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.07
#B668E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B668E2
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B668E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B668E2 | 1.00 | 3.46 | 6.07 | 6.07 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4686E6
Deuteranopia (green-blind)
#608BDF
Tritanopia (blue-blind)
#B17D9B
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #b668e2; /* rgb */ color: rgb(182, 104, 226); /* oklch */ color: oklch(65.5% 0.188 311.8);
Tailwind
colors: {
custom: {
50: '#cf96eb',
500: '#b668e2',
950: '#000000',
},
}SCSS
$custom: #b668e2; $custom-light: #cf96eb; $custom-dark: #000000;
JSON
{
"hex": "#b668e2",
"rgb": {
"r": 182,
"g": 104,
"b": 226
},
"hsl": {
"h": 278.361,
"s": 67.778,
"l": 64.706
},
"oklch": {
"l": 0.6546,
"c": 0.18761,
"h": 311.8
},
"luminance": 0.25337
}Semantic roles & 50–950 ramp
primary
#B668E2
secondary
#CDE8BE
accent
#D01659
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84