#B66CEB#B66CEB
#B66CEB is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.5% C 0.191 H 309.0°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #B66CEB |
|---|---|
| RGB | rgb(182, 108, 235) |
| HSL | hsl(275, 76%, 67%) |
| HSV | hsv(275, 54%, 92%) |
| CMYK | cmyk(22.6%, 54%, 0%, 7.8%) |
| CIE-LAB | lab(58.67, 51.75, -52.96) |
| CIE-LCH | lch(58.67, 74.04, 314.34°) |
| OKLab | oklab(66.55% 0.1205 -0.1486) |
| OKLCH | oklch(66.55% 0.191 309) |
| XYZ | xyz(39.6464, 26.6690, 81.6402) |
| Luminance | 0.2667 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.05
Easter Purple
#C071FE
ΔE00 3.19
Light Purple
#BF77F6
ΔE00 3.32
Bright Lavender
#C760FF
ΔE00 3.86
Bright Lilac
#C95EFB
ΔE00 3.97
Lighter Purple
#A55AF4
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B66CEB #A1EB6C
analogous
#776CEB #B66CEB #EB6CE0
triadic
#B66CEB #EBB66C #6CEBB6
tetradic
#B66CEB #EB776C #A1EB6C #6CE0EB
square
#B66CEB #EB776C #A1EB6C #6CE0EB
split-complementary
#B66CEB #E0EB6C #6CEB77
monochromatic
#7C1AC2 #9B36E4 #B66CEB #D1A2F2 #ECD8FA
Accessibility & contrast
On white
3.32
#B66CEB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.33
#B66CEB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B66CEB
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B66CEB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B66CEB | 1.00 | 3.32 | 6.33 | 6.33 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#458AEF
Deuteranopia (green-blind)
#5E8EE8
Tritanopia (blue-blind)
#AF83A1
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #b66ceb; /* rgb */ color: rgb(182, 108, 235); /* oklch */ color: oklch(66.5% 0.191 309.0);
Tailwind
colors: {
custom: {
50: '#cf99f2',
500: '#b66ceb',
950: '#000000',
},
}SCSS
$custom: #b66ceb; $custom-light: #cf99f2; $custom-dark: #000000;
JSON
{
"hex": "#b66ceb",
"rgb": {
"r": 182,
"g": 108,
"b": 235
},
"hsl": {
"h": 274.961,
"s": 76.048,
"l": 67.255
},
"oklch": {
"l": 0.66546,
"c": 0.19134,
"h": 309
},
"luminance": 0.26668
}Semantic roles & 50–950 ramp
primary
#B66CEB
secondary
#D6EDC5
accent
#D80D62
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85