#B866F2#B866F2
#B866F2 is a light, highly saturated violet. Relative luminance 0.261; OKLCH L 66.3% C 0.208 H 308.8°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #B866F2 |
|---|---|
| RGB | rgb(184, 102, 242) |
| HSL | hsl(275, 84%, 67%) |
| HSV | hsv(275, 58%, 95%) |
| CMYK | cmyk(24%, 57.9%, 0%, 5.1%) |
| CIE-LAB | lab(58.14, 56.83, -57.69) |
| CIE-LCH | lch(58.14, 80.98, 314.57°) |
| OKLab | oklab(66.33% 0.1307 -0.1624) |
| OKLCH | oklch(66.33% 0.208 308.8) |
| XYZ | xyz(40.5424, 26.1045, 86.8901) |
| Luminance | 0.2610 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.28
Bright Lavender
#C760FF
ΔE00 2.73
Bright Lilac
#C95EFB
ΔE00 2.92
Easter Purple
#C071FE
ΔE00 3.28
Light Purple
#BF77F6
ΔE00 4.16
Lighter Purple
#A55AF4
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B866F2 #A0F266
analogous
#7266F2 #B866F2 #F266E6
triadic
#B866F2 #F2B866 #66F2B8
tetradic
#B866F2 #F27266 #A0F266 #66E6F2
square
#B866F2 #F27266 #A0F266 #66E6F2
split-complementary
#B866F2 #E6F266 #66F272
monochromatic
#7F11CC #9E2EED #B866F2 #D29EF7 #ECD7FC
Accessibility & contrast
On white
3.38
#B866F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.22
#B866F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B866F2
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B866F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B866F2 | 1.00 | 3.38 | 6.22 | 6.22 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3188F6
Deuteranopia (green-blind)
#548DEF
Tritanopia (blue-blind)
#B080A3
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #b866f2; /* rgb */ color: rgb(184, 102, 242); /* oklch */ color: oklch(66.3% 0.208 308.8);
Tailwind
colors: {
custom: {
50: '#d195f7',
500: '#b866f2',
950: '#000000',
},
}SCSS
$custom: #b866f2; $custom-light: #d195f7; $custom-dark: #000000;
JSON
{
"hex": "#b866f2",
"rgb": {
"r": 184,
"g": 102,
"b": 242
},
"hsl": {
"h": 275.143,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.66333,
"c": 0.20845,
"h": 308.8
},
"luminance": 0.26104
}Semantic roles & 50–950 ramp
primary
#B866F2
secondary
#D6F0C4
accent
#E10560
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85