#5625E2#5625E2
#5625E2 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.5% C 0.254 H 282.8°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #5625E2 |
|---|---|
| RGB | rgb(86, 37, 226) |
| HSL | hsl(256, 77%, 52%) |
| HSV | hsv(256, 84%, 89%) |
| CMYK | cmyk(61.9%, 83.6%, 0%, 11.4%) |
| CIE-LAB | lab(35.58, 65.99, -85.85) |
| CIE-LCH | lch(35.58, 108.28, 307.55°) |
| OKLab | oklab(47.5% 0.0561 -0.2476) |
| OKLCH | oklch(47.5% 0.254 282.8) |
| XYZ | xyz(18.2225, 8.7912, 72.6734) |
| Luminance | 0.0879 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue Violet
#5D06E9
ΔE00 2.38
Blue Purple
#5A06EF
ΔE00 2.40
Purply Blue
#661AEE
ΔE00 2.45
Purple Blue
#5D21D0
ΔE00 2.47
Purplish Blue
#601EF9
ΔE00 3.03
Purpley Blue
#5F34E7
ΔE00 3.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5625E2 #B1E225
analogous
#2553E2 #5625E2 #B525E2
triadic
#5625E2 #E25625 #25E256
tetradic
#5625E2 #E22553 #B1E225 #25E2B5
square
#5625E2 #E22553 #B1E225 #25E2B5
split-complementary
#5625E2 #E2B525 #53E225
monochromatic
#2C117C #4018B2 #5625E2 #805BE9 #AA91F0
Accessibility & contrast
On white
7.61
#5625E2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#5625E2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5625E2
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5625E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5625E2 | 1.00 | 7.61 | 2.76 | 7.61 |
| #FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059E7
Deuteranopia (green-blind)
#004DDF
Tritanopia (blue-blind)
#006288
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #5625e2; /* rgb */ color: rgb(86, 37, 226); /* oklch */ color: oklch(47.5% 0.254 282.8);
Tailwind
colors: {
custom: {
50: '#9769ed',
500: '#5625e2',
950: '#000000',
},
}SCSS
$custom: #5625e2; $custom-light: #9769ed; $custom-dark: #000000;
JSON
{
"hex": "#5625e2",
"rgb": {
"r": 86,
"g": 37,
"b": 226
},
"hsl": {
"h": 255.556,
"s": 76.518,
"l": 51.569
},
"oklch": {
"l": 0.47498,
"c": 0.25388,
"h": 282.8
},
"luminance": 0.08793
}Semantic roles & 50–950 ramp
primary
#5625E2
secondary
#C5DB88
accent
#F335C2
background
#FAF6FE
surface
#F4EBFD
border
#CEC6D5
text
#0F0717
muted
#7F7A85