#5630C6#5630C6
#5630C6 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.8% C 0.215 H 285.9°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #5630C6 |
|---|---|
| RGB | rgb(86, 48, 198) |
| HSL | hsl(255, 61%, 48%) |
| HSV | hsv(255, 76%, 78%) |
| CMYK | cmyk(56.6%, 75.8%, 0%, 22.4%) |
| CIE-LAB | lab(34.33, 53.76, -71.72) |
| CIE-LCH | lch(34.33, 89.64, 306.85°) |
| OKLab | oklab(45.79% 0.0588 -0.2065) |
| OKLCH | oklch(45.79% 0.215 285.9) |
| XYZ | xyz(15.0847, 8.1687, 54.1970) |
| Luminance | 0.0817 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.16
Purple Blue
#5D21D0
ΔE00 2.58
Blue With A Hint Of Purple
#533CC6
ΔE00 2.67
Bluey Purple
#6241C7
ΔE00 4.16
Purpley Blue
#5F34E7
ΔE00 4.73
Burple
#6832E3
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5630C6 #A0C630
analogous
#3055C6 #5630C6 #A130C6
triadic
#5630C6 #C65630 #30C656
tetradic
#5630C6 #C63055 #A0C630 #30C6A1
square
#5630C6 #C63055 #A0C630 #30C6A1
split-complementary
#5630C6 #C6A130 #55C630
monochromatic
#2B1863 #412495 #5630C6 #7B5CD7 #A38DE3
Accessibility & contrast
On white
7.97
#5630C6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#5630C6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5630C6
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5630C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5630C6 | 1.00 | 7.97 | 2.63 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055CA
Deuteranopia (green-blind)
#004CC3
Tritanopia (blue-blind)
#1F5B79
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #5630c6; /* rgb */ color: rgb(86, 48, 198); /* oklch */ color: oklch(45.8% 0.215 285.9);
Tailwind
colors: {
custom: {
50: '#926dd9',
500: '#5630c6',
950: '#000000',
},
}SCSS
$custom: #5630c6; $custom-light: #926dd9; $custom-dark: #000000;
JSON
{
"hex": "#5630c6",
"rgb": {
"r": 86,
"g": 48,
"b": 198
},
"hsl": {
"h": 255.2,
"s": 60.976,
"l": 48.235
},
"oklch": {
"l": 0.45793,
"c": 0.21473,
"h": 285.9
},
"luminance": 0.0817
}Semantic roles & 50–950 ramp
primary
#5630C6
secondary
#BBCE84
accent
#E444BB
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83