#5332E6#5332E6
#5332E6 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.9% C 0.249 H 280.3°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #5332E6 |
|---|---|
| RGB | rgb(83, 50, 230) |
| HSL | hsl(251, 78%, 55%) |
| HSV | hsv(251, 78%, 90%) |
| CMYK | cmyk(63.9%, 78.3%, 0%, 9.8%) |
| CIE-LAB | lab(37.54, 61.51, -84.90) |
| CIE-LCH | lch(37.54, 104.84, 305.92°) |
| OKLab | oklab(48.91% 0.0445 -0.2451) |
| OKLCH | oklch(48.91% 0.249 280.3) |
| XYZ | xyz(18.9863, 9.8319, 75.7448) |
| Luminance | 0.0983 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley Blue
#5F34E7
ΔE00 1.54
Burple
#6832E3
ΔE00 2.57
Light Royal Blue
#3A2EFE
ΔE00 2.87
Purplish Blue
#601EF9
ΔE00 3.19
Blurple
#5539CC
ΔE00 3.22
Purply Blue
#661AEE
ΔE00 3.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5332E6 #C5E632
analogous
#326BE6 #5332E6 #AD32E6
triadic
#5332E6 #E65332 #32E653
tetradic
#5332E6 #E6326B #C5E632 #32E6AD
square
#5332E6 #E6326B #C5E632 #32E6AD
split-complementary
#5332E6 #E6AD32 #6BE632
monochromatic
#28118C #3718C3 #5332E6 #8169ED #AF9FF3
Accessibility & contrast
On white
7.08
#5332E6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#5332E6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5332E6
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5332E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5332E6 | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FEB
Deuteranopia (green-blind)
#0051E3
Tritanopia (blue-blind)
#00688C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #5332e6; /* rgb */ color: rgb(83, 50, 230); /* oklch */ color: oklch(48.9% 0.249 280.3);
Tailwind
colors: {
custom: {
50: '#966fef',
500: '#5332e6',
950: '#000000',
},
}SCSS
$custom: #5332e6; $custom-light: #966fef; $custom-dark: #000000;
JSON
{
"hex": "#5332e6",
"rgb": {
"r": 83,
"g": 50,
"b": 230
},
"hsl": {
"h": 251,
"s": 78.261,
"l": 54.902
},
"oklch": {
"l": 0.48908,
"c": 0.2491,
"h": 280.3
},
"luminance": 0.09833
}Semantic roles & 50–950 ramp
primary
#5332E6
secondary
#D2E094
accent
#F533D1
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0817
muted
#7F7B85