#5230C9#5230C9
#5230C9 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.7% C 0.219 H 283.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #5230C9 |
|---|---|
| RGB | rgb(82, 48, 201) |
| HSL | hsl(253, 61%, 49%) |
| HSV | hsv(253, 76%, 79%) |
| CMYK | cmyk(59.2%, 76.1%, 0%, 21.2%) |
| CIE-LAB | lab(34.24, 54.11, -73.64) |
| CIE-LCH | lch(34.24, 91.38, 306.31°) |
| OKLab | oklab(45.72% 0.0522 -0.2122) |
| OKLCH | oklch(45.72% 0.219 283.8) |
| XYZ | xyz(15.0760, 8.1238, 56.0206) |
| Luminance | 0.0813 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.04
Blue With A Hint Of Purple
#533CC6
ΔE00 2.60
Purple Blue
#5D21D0
ΔE00 2.71
Bluey Purple
#6241C7
ΔE00 4.37
Purpley Blue
#5F34E7
ΔE00 4.58
Burple
#6832E3
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5230C9 #A7C930
analogous
#305BC9 #5230C9 #9F30C9
triadic
#5230C9 #C95230 #30C952
tetradic
#5230C9 #C9305B #A7C930 #30C99F
square
#5230C9 #C9305B #A7C930 #30C99F
split-complementary
#5230C9 #C99F30 #5BC930
monochromatic
#2A1866 #3E2498 #5230C9 #795ED8 #A28FE4
Accessibility & contrast
On white
8.00
#5230C9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#5230C9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5230C9
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5230C9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5230C9 | 1.00 | 8.00 | 2.63 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055CD
Deuteranopia (green-blind)
#004BC6
Tritanopia (blue-blind)
#005C7B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #5230c9; /* rgb */ color: rgb(82, 48, 201); /* oklch */ color: oklch(45.7% 0.219 283.8);
Tailwind
colors: {
custom: {
50: '#906ddb',
500: '#5230c9',
950: '#000000',
},
}SCSS
$custom: #5230c9; $custom-light: #906ddb; $custom-dark: #000000;
JSON
{
"hex": "#5230c9",
"rgb": {
"r": 82,
"g": 48,
"b": 201
},
"hsl": {
"h": 253.333,
"s": 61.446,
"l": 48.824
},
"oklch": {
"l": 0.45724,
"c": 0.21857,
"h": 283.8
},
"luminance": 0.08125
}Semantic roles & 50–950 ramp
primary
#5230C9
secondary
#BFCF86
accent
#E543C1
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83