#B566F2#B566F2
#B566F2 is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 66.0% C 0.208 H 307.7°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #B566F2 |
|---|---|
| RGB | rgb(181, 102, 242) |
| HSL | hsl(274, 84%, 67%) |
| HSV | hsv(274, 58%, 95%) |
| CMYK | cmyk(25.2%, 57.9%, 0%, 5.1%) |
| CIE-LAB | lab(57.79, 56.12, -58.27) |
| CIE-LCH | lch(57.79, 80.90, 313.92°) |
| OKLab | oklab(66% 0.127 -0.1642) |
| OKLCH | oklch(66% 0.208 307.7) |
| XYZ | xyz(39.8312, 25.7378, 86.8568) |
| Luminance | 0.2574 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.16
Bright Lavender
#C760FF
ΔE00 3.13
Bright Lilac
#C95EFB
ΔE00 3.38
Easter Purple
#C071FE
ΔE00 3.55
Lighter Purple
#A55AF4
ΔE00 4.33
Light Purple
#BF77F6
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B566F2 #A3F266
analogous
#6F66F2 #B566F2 #F266E9
triadic
#B566F2 #F2B566 #66F2B5
tetradic
#B566F2 #F26F66 #A3F266 #66E9F2
square
#B566F2 #F26F66 #A3F266 #66E9F2
split-complementary
#B566F2 #E9F266 #66F26F
monochromatic
#7B11CC #9A2EED #B566F2 #D09EF7 #ECD7FC
Accessibility & contrast
On white
3.42
#B566F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#B566F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B566F2
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B566F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B566F2 | 1.00 | 3.42 | 6.15 | 6.15 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F88F7
Deuteranopia (green-blind)
#518CEF
Tritanopia (blue-blind)
#AC81A3
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #b566f2; /* rgb */ color: rgb(181, 102, 242); /* oklch */ color: oklch(66.0% 0.208 307.7);
Tailwind
colors: {
custom: {
50: '#cf95f7',
500: '#b566f2',
950: '#000000',
},
}SCSS
$custom: #b566f2; $custom-light: #cf95f7; $custom-dark: #000000;
JSON
{
"hex": "#b566f2",
"rgb": {
"r": 181,
"g": 102,
"b": 242
},
"hsl": {
"h": 273.857,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.66002,
"c": 0.20756,
"h": 307.7
},
"luminance": 0.25737
}Semantic roles & 50–950 ramp
primary
#B566F2
secondary
#D7F0C4
accent
#E10565
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85