#B562F2#B562F2
#B562F2 is a light, highly saturated violet. Relative luminance 0.250; OKLCH L 65.5% C 0.213 H 308.2°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #B562F2 |
|---|---|
| RGB | rgb(181, 98, 242) |
| HSL | hsl(275, 85%, 67%) |
| HSV | hsv(275, 60%, 95%) |
| CMYK | cmyk(25.2%, 59.5%, 0%, 5.1%) |
| CIE-LAB | lab(57.05, 58.10, -59.45) |
| CIE-LCH | lch(57.05, 83.13, 314.34°) |
| OKLab | oklab(65.46% 0.1318 -0.1676) |
| OKLCH | oklch(65.46% 0.213 308.2) |
| XYZ | xyz(39.4475, 24.9705, 86.7289) |
| Luminance | 0.2497 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.98
Bright Lavender
#C760FF
ΔE00 3.17
Bright Lilac
#C95EFB
ΔE00 3.32
Lighter Purple
#A55AF4
ΔE00 3.73
Easter Purple
#C071FE
ΔE00 4.26
Light Purple
#BF77F6
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B562F2 #9FF262
analogous
#6D62F2 #B562F2 #F262E7
triadic
#B562F2 #F2B562 #62F2B5
tetradic
#B562F2 #F26D62 #9FF262 #62E7F2
square
#B562F2 #F26D62 #9FF262 #62E7F2
split-complementary
#B562F2 #E7F262 #62F26D
monochromatic
#7B11C9 #9A29ED #B562F2 #D09BF7 #EAD3FB
Accessibility & contrast
On white
3.50
#B562F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.99
#B562F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B562F2
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B562F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B562F2 | 1.00 | 3.50 | 5.99 | 5.99 |
| #FFFFFF | 3.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2386F7
Deuteranopia (green-blind)
#4C8AEF
Tritanopia (blue-blind)
#AC7EA1
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #b562f2; /* rgb */ color: rgb(181, 98, 242); /* oklch */ color: oklch(65.5% 0.213 308.2);
Tailwind
colors: {
custom: {
50: '#cf92f7',
500: '#b562f2',
950: '#000000',
},
}SCSS
$custom: #b562f2; $custom-light: #cf92f7; $custom-dark: #000000;
JSON
{
"hex": "#b562f2",
"rgb": {
"r": 181,
"g": 98,
"b": 242
},
"hsl": {
"h": 274.583,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.65462,
"c": 0.21325,
"h": 308.2
},
"luminance": 0.2497
}Semantic roles & 50–950 ramp
primary
#B562F2
secondary
#D4EFC1
accent
#E10462
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85