#B666EA#B666EA
#B666EA is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.6% C 0.199 H 310.0°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #B666EA |
|---|---|
| RGB | rgb(182, 102, 234) |
| HSL | hsl(276, 76%, 66%) |
| HSV | hsv(276, 56%, 92%) |
| CMYK | cmyk(22.2%, 56.4%, 0%, 8.2%) |
| CIE-LAB | lab(57.45, 54.59, -54.34) |
| CIE-LCH | lch(57.45, 77.03, 315.14°) |
| OKLab | oklab(65.64% 0.1281 -0.1526) |
| OKLCH | oklch(65.64% 0.199 310) |
| XYZ | xyz(38.8912, 25.3891, 80.6778) |
| Luminance | 0.2539 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.90
Bright Lilac
#C95EFB
ΔE00 3.54
Bright Lavender
#C760FF
ΔE00 3.56
Easter Purple
#C071FE
ΔE00 4.08
Light Purple
#BF77F6
ΔE00 4.55
Lighter Purple
#A55AF4
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B666EA #9AEA66
analogous
#7466EA #B666EA #EA66DC
triadic
#B666EA #EAB666 #66EAB6
tetradic
#B666EA #EA7466 #9AEA66 #66DCEA
square
#B666EA #EA7466 #9AEA66 #66DCEA
split-complementary
#B666EA #DCEA66 #66EA74
monochromatic
#7C1ABC #9C30E3 #B666EA #D09CF1 #E9D2F9
Accessibility & contrast
On white
3.46
#B666EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.08
#B666EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B666EA
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B666EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B666EA | 1.00 | 3.46 | 6.08 | 6.08 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A86EE
Deuteranopia (green-blind)
#588BE7
Tritanopia (blue-blind)
#AF7E9E
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #b666ea; /* rgb */ color: rgb(182, 102, 234); /* oklch */ color: oklch(65.6% 0.199 310.0);
Tailwind
colors: {
custom: {
50: '#cf95f1',
500: '#b666ea',
950: '#000000',
},
}SCSS
$custom: #b666ea; $custom-light: #cf95f1; $custom-dark: #000000;
JSON
{
"hex": "#b666ea",
"rgb": {
"r": 182,
"g": 102,
"b": 234
},
"hsl": {
"h": 276.364,
"s": 75.862,
"l": 65.882
},
"oklch": {
"l": 0.65637,
"c": 0.19925,
"h": 310
},
"luminance": 0.25388
}Semantic roles & 50–950 ramp
primary
#B666EA
secondary
#D1ECC0
accent
#D80D5D
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85