#562EF0#562EF0
#562EF0 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.8% C 0.262 H 280.5°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #562EF0 |
|---|---|
| RGB | rgb(86, 46, 240) |
| HSL | hsl(252, 87%, 56%) |
| HSV | hsv(252, 81%, 94%) |
| CMYK | cmyk(64.2%, 80.8%, 0%, 5.9%) |
| CIE-LAB | lab(38.24, 66.25, -89.41) |
| CIE-LCH | lch(38.24, 111.28, 306.54°) |
| OKLab | oklab(49.76% 0.0477 -0.2581) |
| OKLCH | oklch(49.76% 0.262 280.5) |
| XYZ | xyz(20.5379, 10.2221, 83.3119) |
| Luminance | 0.1022 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley Blue
#5F34E7
ΔE00 1.52
Purplish Blue
#601EF9
ΔE00 2.08
Light Royal Blue
#3A2EFE
ΔE00 2.39
Burple
#6832E3
ΔE00 2.47
Purply Blue
#661AEE
ΔE00 2.76
Purpleish Blue
#6140EF
ΔE00 3.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#562EF0 #C8F02E
analogous
#2E67F0 #562EF0 #B72EF0
triadic
#562EF0 #F0562E #2EF056
tetradic
#562EF0 #F02E67 #C8F02E #2EF0B7
square
#562EF0 #F02E67 #C8F02E #2EF0B7
split-complementary
#562EF0 #F0B72E #67F02E
monochromatic
#280B99 #370FD2 #562EF0 #8467F4 #B2A0F8
Accessibility & contrast
On white
6.90
#562EF0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#562EF0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #562EF0
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##562EF0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##562EF0 | 1.00 | 6.90 | 3.04 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061F5
Deuteranopia (green-blind)
#0053ED
Tritanopia (blue-blind)
#006B91
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #562ef0; /* rgb */ color: rgb(86, 46, 240); /* oklch */ color: oklch(49.8% 0.262 280.5);
Tailwind
colors: {
custom: {
50: '#996ef7',
500: '#562ef0',
950: '#000000',
},
}SCSS
$custom: #562ef0; $custom-light: #996ef7; $custom-dark: #000000;
JSON
{
"hex": "#562ef0",
"rgb": {
"r": 86,
"g": 46,
"b": 240
},
"hsl": {
"h": 252.371,
"s": 86.607,
"l": 56.078
},
"oklch": {
"l": 0.49759,
"c": 0.26245,
"h": 280.5
},
"luminance": 0.10224
}Semantic roles & 50–950 ramp
primary
#562EF0
secondary
#D4E595
accent
#FD2BD2
background
#FAF6FF
surface
#F4ECFF
border
#CEC7D7
text
#100817
muted
#7F7B85