#B562EF#B562EF
#B562EF is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 65.3% C 0.210 H 308.9°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #B562EF |
|---|---|
| RGB | rgb(181, 98, 239) |
| HSL | hsl(275, 82%, 66%) |
| HSV | hsv(275, 59%, 94%) |
| CMYK | cmyk(24.3%, 59%, 0%, 6.3%) |
| CIE-LAB | lab(56.87, 57.44, -58.06) |
| CIE-LCH | lch(56.87, 81.68, 314.69°) |
| OKLab | oklab(65.28% 0.1318 -0.1636) |
| OKLCH | oklch(65.28% 0.21 308.9) |
| XYZ | xyz(39.0006, 24.7917, 84.3754) |
| Luminance | 0.2479 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.15
Bright Lavender
#C760FF
ΔE00 3.33
Bright Lilac
#C95EFB
ΔE00 3.39
Lighter Purple
#A55AF4
ΔE00 3.86
Easter Purple
#C071FE
ΔE00 4.43
Lightish Purple
#A552E6
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B562EF #9CEF62
analogous
#6E62EF #B562EF #EF62E3
triadic
#B562EF #EFB562 #62EFB5
tetradic
#B562EF #EF6E62 #9CEF62 #62E3EF
square
#B562EF #EF6E62 #9CEF62 #62E3EF
split-complementary
#B562EF #E3EF62 #62EF6E
monochromatic
#7B14C3 #9B2AE9 #B562EF #CF9AF5 #E9D1FA
Accessibility & contrast
On white
3.52
#B562EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.96
#B562EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B562EF
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B562EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B562EF | 1.00 | 3.52 | 5.96 | 5.96 |
| #FFFFFF | 3.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2985F3
Deuteranopia (green-blind)
#4F8AEC
Tritanopia (blue-blind)
#AD7D9F
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #b562ef; /* rgb */ color: rgb(181, 98, 239); /* oklch */ color: oklch(65.3% 0.210 308.9);
Tailwind
colors: {
custom: {
50: '#cf92f5',
500: '#b562ef',
950: '#000000',
},
}SCSS
$custom: #b562ef; $custom-light: #cf92f5; $custom-dark: #000000;
JSON
{
"hex": "#b562ef",
"rgb": {
"r": 181,
"g": 98,
"b": 239
},
"hsl": {
"h": 275.319,
"s": 81.503,
"l": 66.078
},
"oklch": {
"l": 0.65278,
"c": 0.21007,
"h": 308.9
},
"luminance": 0.24791
}Semantic roles & 50–950 ramp
primary
#B562EF
secondary
#D2EEBF
accent
#DE0860
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140D17
muted
#837E85