#562BE2#562BE2
#562BE2 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 48.0% C 0.250 H 282.4°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #562BE2 |
|---|---|
| RGB | rgb(86, 43, 226) |
| HSL | hsl(254, 76%, 53%) |
| HSV | hsv(254, 81%, 89%) |
| CMYK | cmyk(61.9%, 81%, 0%, 11.4%) |
| CIE-LAB | lab(36.36, 63.69, -84.56) |
| CIE-LCH | lch(36.36, 105.87, 306.99°) |
| OKLab | oklab(48.03% 0.0535 -0.2439) |
| OKLCH | oklch(48.03% 0.25 282.4) |
| XYZ | xyz(18.4248, 9.1958, 72.7408) |
| Luminance | 0.0920 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley Blue
#5F34E7
ΔE00 2.28
Purply Blue
#661AEE
ΔE00 2.68
Burple
#6832E3
ΔE00 2.74
Purplish Blue
#601EF9
ΔE00 2.99
Purple Blue
#5D21D0
ΔE00 3.00
Blue Purple
#5A06EF
ΔE00 3.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#562BE2 #B7E22B
analogous
#2B5CE2 #562BE2 #B12BE2
triadic
#562BE2 #E2562B #2BE256
tetradic
#562BE2 #E22B5C #B7E22B #2BE2B1
square
#562BE2 #E22B5C #B7E22B #2BE2B1
split-complementary
#562BE2 #E2B12B #5CE22B
monochromatic
#2C1281 #3E19B7 #562BE2 #8161E9 #AC97F1
Accessibility & contrast
On white
7.40
#562BE2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#562BE2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #562BE2
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##562BE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##562BE2 | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BE7
Deuteranopia (green-blind)
#004FDF
Tritanopia (blue-blind)
#006489
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #562be2; /* rgb */ color: rgb(86, 43, 226); /* oklch */ color: oklch(48.0% 0.250 282.4);
Tailwind
colors: {
custom: {
50: '#976ced',
500: '#562be2',
950: '#000000',
},
}SCSS
$custom: #562be2; $custom-light: #976ced; $custom-dark: #000000;
JSON
{
"hex": "#562be2",
"rgb": {
"r": 86,
"g": 43,
"b": 226
},
"hsl": {
"h": 254.098,
"s": 75.934,
"l": 52.745
},
"oklch": {
"l": 0.48033,
"c": 0.24972,
"h": 282.4
},
"luminance": 0.09197
}Semantic roles & 50–950 ramp
primary
#562BE2
secondary
#C9DC8D
accent
#F335C6
background
#FAF6FE
surface
#F4ECFD
border
#CEC7D5
text
#0F0716
muted
#7F7A84