#B366E1#B366E1
#B366E1 is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.8% C 0.189 H 311.1°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #B366E1 |
|---|---|
| RGB | rgb(179, 102, 225) |
| HSL | hsl(278, 67%, 64%) |
| HSV | hsv(278, 55%, 88%) |
| CMYK | cmyk(20.4%, 54.7%, 0%, 11.8%) |
| CIE-LAB | lab(56.61, 51.89, -50.66) |
| CIE-LCH | lch(56.61, 72.52, 315.68°) |
| OKLab | oklab(64.78% 0.124 -0.142) |
| OKLCH | oklch(64.78% 0.189 311.1) |
| XYZ | xyz(36.9299, 24.5235, 74.0076) |
| Luminance | 0.2452 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.92
Mediumorchid
#BA55D3
ΔE00 4.51
Bright Lilac
#C95EFB
ΔE00 4.60
Bright Lavender
#C760FF
ΔE00 4.77
Easter Purple
#C071FE
ΔE00 5.20
Lighter Purple
#A55AF4
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B366E1 #94E166
analogous
#7666E1 #B366E1 #E166D2
triadic
#B366E1 #E1B366 #66E1B3
tetradic
#B366E1 #E17666 #94E166 #66D2E1
square
#B366E1 #E17666 #94E166 #66D2E1
split-complementary
#B366E1 #D2E166 #66E176
monochromatic
#7822AB #9A33D7 #B366E1 #CC99EB #E6CCF5
Accessibility & contrast
On white
3.56
#B366E1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.90
#B366E1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B366E1
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B366E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B366E1 | 1.00 | 3.56 | 5.90 | 5.90 |
| #FFFFFF | 3.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4284E5
Deuteranopia (green-blind)
#5D89DE
Tritanopia (blue-blind)
#AE7B9A
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #b366e1; /* rgb */ color: rgb(179, 102, 225); /* oklch */ color: oklch(64.8% 0.189 311.1);
Tailwind
colors: {
custom: {
50: '#cc94eb',
500: '#b366e1',
950: '#000000',
},
}SCSS
$custom: #b366e1; $custom-light: #cc94eb; $custom-dark: #000000;
JSON
{
"hex": "#b366e1",
"rgb": {
"r": 179,
"g": 102,
"b": 225
},
"hsl": {
"h": 277.561,
"s": 67.213,
"l": 64.118
},
"oklch": {
"l": 0.64781,
"c": 0.18851,
"h": 311.1
},
"luminance": 0.24523
}Semantic roles & 50–950 ramp
primary
#B366E1
secondary
#CCE7BC
accent
#CF165B
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84