#B562F6#B562F6
#B562F6 is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.7% C 0.217 H 307.3°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #B562F6 |
|---|---|
| RGB | rgb(181, 98, 246) |
| HSL | hsl(274, 89%, 67%) |
| HSV | hsv(274, 60%, 96%) |
| CMYK | cmyk(26.4%, 60.2%, 0%, 3.5%) |
| CIE-LAB | lab(57.28, 58.99, -61.30) |
| CIE-LCH | lch(57.28, 85.07, 313.90°) |
| OKLab | oklab(65.71% 0.1317 -0.1731) |
| OKLCH | oklch(65.71% 0.217 307.3) |
| XYZ | xyz(40.0548, 25.2134, 89.9275) |
| Luminance | 0.2521 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.85
Bright Lavender
#C760FF
ΔE00 3.03
Bright Lilac
#C95EFB
ΔE00 3.31
Lighter Purple
#A55AF4
ΔE00 3.65
Easter Purple
#C071FE
ΔE00 4.10
Light Purple
#BF77F6
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B562F6 #A3F662
analogous
#6B62F6 #B562F6 #F662ED
triadic
#B562F6 #F6B562 #62F6B5
tetradic
#B562F6 #F66B62 #A3F662 #62EDF6
square
#B562F6 #F66B62 #A3F662 #62EDF6
split-complementary
#B562F6 #EDF662 #62F66B
monochromatic
#7B0CD2 #9A28F3 #B562F6 #D09CF9 #ECD6FD
Accessibility & contrast
On white
3.48
#B562F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.04
#B562F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B562F6
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B562F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B562F6 | 1.00 | 3.48 | 6.04 | 6.04 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A87FB
Deuteranopia (green-blind)
#488AF3
Tritanopia (blue-blind)
#AB7FA3
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #b562f6; /* rgb */ color: rgb(181, 98, 246); /* oklch */ color: oklch(65.7% 0.217 307.3);
Tailwind
colors: {
custom: {
50: '#cf93fa',
500: '#b562f6',
950: '#000000',
},
}SCSS
$custom: #b562f6; $custom-light: #cf93fa; $custom-dark: #000000;
JSON
{
"hex": "#b562f6",
"rgb": {
"r": 181,
"g": 98,
"b": 246
},
"hsl": {
"h": 273.649,
"s": 89.157,
"l": 67.451
},
"oklch": {
"l": 0.65709,
"c": 0.21749,
"h": 307.3
},
"luminance": 0.25213
}Semantic roles & 50–950 ramp
primary
#B562F6
secondary
#D7F1C3
accent
#E60065
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85