#B562F9#B562F9
#B562F9 is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 65.9% C 0.221 H 306.6°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #B562F9 |
|---|---|
| RGB | rgb(181, 98, 249) |
| HSL | hsl(273, 93%, 68%) |
| HSV | hsv(273, 61%, 98%) |
| CMYK | cmyk(27.3%, 60.6%, 0%, 2.4%) |
| CIE-LAB | lab(57.46, 59.66, -62.67) |
| CIE-LCH | lch(57.46, 86.53, 313.59°) |
| OKLab | oklab(65.9% 0.1316 -0.1771) |
| OKLCH | oklch(65.9% 0.221 306.6) |
| XYZ | xyz(40.5190, 25.3991, 92.3721) |
| Luminance | 0.2540 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.82
Bright Lavender
#C760FF
ΔE00 2.99
Bright Lilac
#C95EFB
ΔE00 3.36
Lighter Purple
#A55AF4
ΔE00 3.65
Easter Purple
#C071FE
ΔE00 4.02
Light Purple
#BF77F6
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B562F9 #A6F962
analogous
#6962F9 #B562F9 #F962F2
triadic
#B562F9 #F9B562 #62F9B5
tetradic
#B562F9 #F96962 #A6F962 #62F2F9
square
#B562F9 #F96962 #A6F962 #62F2F9
split-complementary
#B562F9 #F2F962 #62F969
monochromatic
#7B08D8 #9927F7 #B562F9 #D19DFB #EDD8FE
Accessibility & contrast
On white
3.45
#B562F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.08
#B562F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B562F9
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B562F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B562F9 | 1.00 | 3.45 | 6.08 | 6.08 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F87FE
Deuteranopia (green-blind)
#458BF6
Tritanopia (blue-blind)
#AA80A5
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #b562f9; /* rgb */ color: rgb(181, 98, 249); /* oklch */ color: oklch(65.9% 0.221 306.6);
Tailwind
colors: {
custom: {
50: '#cf93fc',
500: '#b562f9',
950: '#000000',
},
}SCSS
$custom: #b562f9; $custom-light: #cf93fc; $custom-dark: #000000;
JSON
{
"hex": "#b562f9",
"rgb": {
"r": 181,
"g": 98,
"b": 249
},
"hsl": {
"h": 272.98,
"s": 92.638,
"l": 68.039
},
"oklch": {
"l": 0.65897,
"c": 0.22066,
"h": 306.6
},
"luminance": 0.25399
}Semantic roles & 50–950 ramp
primary
#B562F9
secondary
#D9F2C4
accent
#E60067
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86