#5332C2#5332C2
#5332C2 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.4% C 0.208 H 285.0°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #5332C2 |
|---|---|
| RGB | rgb(83, 50, 194) |
| HSL | hsl(254, 59%, 48%) |
| HSV | hsv(254, 74%, 76%) |
| CMYK | cmyk(57.2%, 74.2%, 0%, 23.9%) |
| CIE-LAB | lab(34.01, 51.24, -69.92) |
| CIE-LCH | lch(34.01, 86.68, 306.24°) |
| OKLab | oklab(45.39% 0.054 -0.2013) |
| OKLCH | oklch(45.39% 0.208 285) |
| XYZ | xyz(14.4425, 8.0144, 51.8144) |
| Luminance | 0.0801 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.17
Blue With A Hint Of Purple
#533CC6
ΔE00 2.38
Purple Blue
#5D21D0
ΔE00 3.27
Bluey Purple
#6241C7
ΔE00 4.16
Ocean Blue
#4F42B5
ΔE00 4.36
Violet Blue
#510AC9
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5332C2 #A1C232
analogous
#3259C2 #5332C2 #9B32C2
triadic
#5332C2 #C25332 #32C253
tetradic
#5332C2 #C23259 #A1C232 #32C29B
square
#5332C2 #C23259 #A1C232 #32C29B
split-complementary
#5332C2 #C29B32 #59C232
monochromatic
#291961 #3E2591 #5332C2 #785CD5 #A08DE2
Accessibility & contrast
On white
8.07
#5332C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#5332C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5332C2
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5332C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5332C2 | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054C6
Deuteranopia (green-blind)
#004BBF
Tritanopia (blue-blind)
#195A78
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #5332c2; /* rgb */ color: rgb(83, 50, 194); /* oklch */ color: oklch(45.4% 0.208 285.0);
Tailwind
colors: {
custom: {
50: '#906ed6',
500: '#5332c2',
950: '#000000',
},
}SCSS
$custom: #5332c2; $custom-light: #906ed6; $custom-dark: #000000;
JSON
{
"hex": "#5332c2",
"rgb": {
"r": 83,
"g": 50,
"b": 194
},
"hsl": {
"h": 253.75,
"s": 59.016,
"l": 47.843
},
"oklch": {
"l": 0.45386,
"c": 0.20846,
"h": 285
},
"luminance": 0.08015
}Semantic roles & 50–950 ramp
primary
#5332C2
secondary
#BBCC84
accent
#E246BE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83