#B366E8#B366E8
#B366E8 is a light, vivid violet. Relative luminance 0.249; OKLCH L 65.2% C 0.196 H 309.3°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #B366E8 |
|---|---|
| RGB | rgb(179, 102, 232) |
| HSL | hsl(276, 74%, 65%) |
| HSV | hsv(276, 56%, 91%) |
| CMYK | cmyk(22.8%, 56%, 0%, 9%) |
| CIE-LAB | lab(56.99, 53.42, -53.98) |
| CIE-LCH | lch(56.99, 75.94, 314.70°) |
| OKLab | oklab(65.19% 0.1243 -0.1517) |
| OKLCH | oklch(65.19% 0.196 309.3) |
| XYZ | xyz(37.9044, 24.9133, 79.1402) |
| Luminance | 0.2491 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.03
Bright Lilac
#C95EFB
ΔE00 4.05
Bright Lavender
#C760FF
ΔE00 4.06
Easter Purple
#C071FE
ΔE00 4.47
Lighter Purple
#A55AF4
ΔE00 4.58
Light Purple
#BF77F6
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B366E8 #9BE866
analogous
#7266E8 #B366E8 #E866DC
triadic
#B366E8 #E8B366 #66E8B3
tetradic
#B366E8 #E87266 #9BE866 #66DCE8
square
#B366E8 #E87266 #9BE866 #66DCE8
split-complementary
#B366E8 #DCE866 #66E872
monochromatic
#781CB8 #9931E0 #B366E8 #CD9BF0 #E8D0F8
Accessibility & contrast
On white
3.51
#B366E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.98
#B366E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B366E8
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B366E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B366E8 | 1.00 | 3.51 | 5.98 | 5.98 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B85EC
Deuteranopia (green-blind)
#578AE5
Tritanopia (blue-blind)
#AC7E9D
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #b366e8; /* rgb */ color: rgb(179, 102, 232); /* oklch */ color: oklch(65.2% 0.196 309.3);
Tailwind
colors: {
custom: {
50: '#cd95f0',
500: '#b366e8',
950: '#000000',
},
}SCSS
$custom: #b366e8; $custom-light: #cd95f0; $custom-dark: #000000;
JSON
{
"hex": "#b366e8",
"rgb": {
"r": 179,
"g": 102,
"b": 232
},
"hsl": {
"h": 275.538,
"s": 73.864,
"l": 65.49
},
"oklch": {
"l": 0.65186,
"c": 0.19611,
"h": 309.3
},
"luminance": 0.24913
}Semantic roles & 50–950 ramp
primary
#B366E8
secondary
#D1EBBF
accent
#D61060
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85