#B566F9#B566F9
#B566F9 is a light, highly saturated violet. Relative luminance 0.262; OKLCH L 66.4% C 0.215 H 306.2°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #B566F9 |
|---|---|
| RGB | rgb(181, 102, 249) |
| HSL | hsl(272, 92%, 69%) |
| HSV | hsv(272, 59%, 98%) |
| CMYK | cmyk(27.3%, 59%, 0%, 2.4%) |
| CIE-LAB | lab(58.19, 57.69, -61.50) |
| CIE-LCH | lch(58.19, 84.32, 313.17°) |
| OKLab | oklab(66.43% 0.127 -0.1737) |
| OKLCH | oklch(66.43% 0.215 306.2) |
| XYZ | xyz(40.9027, 26.1664, 92.5000) |
| Luminance | 0.2617 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.99
Bright Lavender
#C760FF
ΔE00 2.99
Easter Purple
#C071FE
ΔE00 3.29
Bright Lilac
#C95EFB
ΔE00 3.45
Lighter Purple
#A55AF4
ΔE00 4.26
Light Purple
#BF77F6
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B566F9 #AAF966
analogous
#6C66F9 #B566F9 #F966F4
triadic
#B566F9 #F9B566 #66F9B5
tetradic
#B566F9 #F96C66 #AAF966 #66F4F9
square
#B566F9 #F96C66 #AAF966 #66F4F9
split-complementary
#B566F9 #F4F966 #66F96C
monochromatic
#7A09DC #992BF7 #B566F9 #D1A1FB #EEDCFE
Accessibility & contrast
On white
3.37
#B566F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.23
#B566F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B566F9
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B566F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B566F9 | 1.00 | 3.37 | 6.23 | 6.23 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2289FE
Deuteranopia (green-blind)
#4A8CF6
Tritanopia (blue-blind)
#AA83A6
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #b566f9; /* rgb */ color: rgb(181, 102, 249); /* oklch */ color: oklch(66.4% 0.215 306.2);
Tailwind
colors: {
custom: {
50: '#cf95fc',
500: '#b566f9',
950: '#000000',
},
}SCSS
$custom: #b566f9; $custom-light: #cf95fc; $custom-dark: #000000;
JSON
{
"hex": "#b566f9",
"rgb": {
"r": 181,
"g": 102,
"b": 249
},
"hsl": {
"h": 272.245,
"s": 92.453,
"l": 68.824
},
"oklch": {
"l": 0.6643,
"c": 0.21511,
"h": 306.2
},
"luminance": 0.26166
}Semantic roles & 50–950 ramp
primary
#B566F9
secondary
#DCF3C8
accent
#E6006A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86