#B366DF#B366DF
#B366DF is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.7% C 0.186 H 311.7°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #B366DF |
|---|---|
| RGB | rgb(179, 102, 223) |
| HSL | hsl(278, 65%, 64%) |
| HSV | hsv(278, 54%, 87%) |
| CMYK | cmyk(19.7%, 54.3%, 0%, 12.5%) |
| CIE-LAB | lab(56.50, 51.45, -49.71) |
| CIE-LCH | lch(56.50, 71.54, 315.99°) |
| OKLab | oklab(64.67% 0.1239 -0.1392) |
| OKLCH | oklch(64.67% 0.186 311.7) |
| XYZ | xyz(36.6587, 24.4150, 72.5792) |
| Luminance | 0.2441 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.20
Mediumorchid
#BA55D3
ΔE00 4.33
Bright Lilac
#C95EFB
ΔE00 4.79
Bright Lavender
#C760FF
ΔE00 5.00
Easter Purple
#C071FE
ΔE00 5.44
Lighter Purple
#A55AF4
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B366DF #92DF66
analogous
#7666DF #B366DF #DF66CE
triadic
#B366DF #DFB366 #66DFB3
tetradic
#B366DF #DF7666 #92DF66 #66CEDF
square
#B366DF #DF7666 #92DF66 #66CEDF
split-complementary
#B366DF #CEDF66 #66DF76
monochromatic
#7723A8 #9A33D4 #B366DF #CC99EA #E5CBF4
Accessibility & contrast
On white
3.57
#B366DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.88
#B366DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B366DF
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B366DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B366DF | 1.00 | 3.57 | 5.88 | 5.88 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4484E3
Deuteranopia (green-blind)
#5E89DC
Tritanopia (blue-blind)
#AE7B99
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #b366df; /* rgb */ color: rgb(179, 102, 223); /* oklch */ color: oklch(64.7% 0.186 311.7);
Tailwind
colors: {
custom: {
50: '#cc94e9',
500: '#b366df',
950: '#000000',
},
}SCSS
$custom: #b366df; $custom-light: #cc94e9; $custom-dark: #000000;
JSON
{
"hex": "#b366df",
"rgb": {
"r": 179,
"g": 102,
"b": 223
},
"hsl": {
"h": 278.182,
"s": 65.405,
"l": 63.725
},
"oklch": {
"l": 0.64668,
"c": 0.18634,
"h": 311.7
},
"luminance": 0.24414
}Semantic roles & 50–950 ramp
primary
#B366DF
secondary
#CBE6BB
accent
#CD185A
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84