#B566F4#B566F4
#B566F4 is a light, highly saturated violet. Relative luminance 0.259; OKLCH L 66.1% C 0.210 H 307.3°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #B566F4 |
|---|---|
| RGB | rgb(181, 102, 244) |
| HSL | hsl(273, 87%, 68%) |
| HSV | hsv(273, 58%, 96%) |
| CMYK | cmyk(25.8%, 58.2%, 0%, 4.3%) |
| CIE-LAB | lab(57.90, 56.56, -59.19) |
| CIE-LCH | lch(57.90, 81.87, 313.70°) |
| OKLab | oklab(66.12% 0.127 -0.1669) |
| OKLCH | oklch(66.12% 0.21 307.3) |
| XYZ | xyz(40.1332, 25.8586, 88.4474) |
| Luminance | 0.2586 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.07
Bright Lavender
#C760FF
ΔE00 3.06
Bright Lilac
#C95EFB
ΔE00 3.37
Easter Purple
#C071FE
ΔE00 3.45
Lighter Purple
#A55AF4
ΔE00 4.28
Light Purple
#BF77F6
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B566F4 #A5F466
analogous
#6E66F4 #B566F4 #F466EC
triadic
#B566F4 #F4B566 #66F4B5
tetradic
#B566F4 #F46E66 #A5F466 #66ECF4
square
#B566F4 #F46E66 #A5F466 #66ECF4
split-complementary
#B566F4 #ECF466 #66F46E
monochromatic
#7B0FD1 #992DF0 #B566F4 #D19FF8 #ECD8FC
Accessibility & contrast
On white
3.40
#B566F4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#B566F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B566F4
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B566F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B566F4 | 1.00 | 3.40 | 6.17 | 6.17 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C88F9
Deuteranopia (green-blind)
#4F8CF1
Tritanopia (blue-blind)
#AB81A4
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #b566f4; /* rgb */ color: rgb(181, 102, 244); /* oklch */ color: oklch(66.1% 0.210 307.3);
Tailwind
colors: {
custom: {
50: '#cf95f8',
500: '#b566f4',
950: '#000000',
},
}SCSS
$custom: #b566f4; $custom-light: #cf95f8; $custom-dark: #000000;
JSON
{
"hex": "#b566f4",
"rgb": {
"r": 181,
"g": 102,
"b": 244
},
"hsl": {
"h": 273.38,
"s": 86.585,
"l": 67.843
},
"oklch": {
"l": 0.66123,
"c": 0.20971,
"h": 307.3
},
"luminance": 0.25858
}Semantic roles & 50–950 ramp
primary
#B566F4
secondary
#D8F1C5
accent
#E30266
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85