#B366E2#B366E2
#B366E2 is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.8% C 0.190 H 310.9°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #B366E2 |
|---|---|
| RGB | rgb(179, 102, 226) |
| HSL | hsl(277, 68%, 64%) |
| HSV | hsv(277, 55%, 89%) |
| CMYK | cmyk(20.8%, 54.9%, 0%, 11.4%) |
| CIE-LAB | lab(56.66, 52.10, -51.14) |
| CIE-LCH | lch(56.66, 73.00, 315.54°) |
| OKLab | oklab(64.84% 0.124 -0.1434) |
| OKLCH | oklch(64.84% 0.19 310.9) |
| XYZ | xyz(37.0667, 24.5782, 74.7282) |
| Luminance | 0.2458 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.78
Bright Lilac
#C95EFB
ΔE00 4.51
Mediumorchid
#BA55D3
ΔE00 4.61
Bright Lavender
#C760FF
ΔE00 4.66
Easter Purple
#C071FE
ΔE00 5.09
Lighter Purple
#A55AF4
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B366E2 #95E266
analogous
#7566E2 #B366E2 #E266D3
triadic
#B366E2 #E2B366 #66E2B3
tetradic
#B366E2 #E27566 #95E266 #66D3E2
square
#B366E2 #E27566 #95E266 #66D3E2
split-complementary
#B366E2 #D3E266 #66E275
monochromatic
#7821AD #9933D8 #B366E2 #CD99EC #E6CDF6
Accessibility & contrast
On white
3.55
#B366E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.92
#B366E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B366E2
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B366E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B366E2 | 1.00 | 3.55 | 5.92 | 5.92 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4184E6
Deuteranopia (green-blind)
#5C89DF
Tritanopia (blue-blind)
#AD7C9A
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #b366e2; /* rgb */ color: rgb(179, 102, 226); /* oklch */ color: oklch(64.8% 0.190 310.9);
Tailwind
colors: {
custom: {
50: '#cd94ec',
500: '#b366e2',
950: '#000000',
},
}SCSS
$custom: #b366e2; $custom-light: #cd94ec; $custom-dark: #000000;
JSON
{
"hex": "#b366e2",
"rgb": {
"r": 179,
"g": 102,
"b": 226
},
"hsl": {
"h": 277.258,
"s": 68.132,
"l": 64.314
},
"oklch": {
"l": 0.64838,
"c": 0.18959,
"h": 310.9
},
"luminance": 0.24577
}Semantic roles & 50–950 ramp
primary
#B366E2
secondary
#CDE7BC
accent
#D0155C
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84