#8538B9#8538B9
#8538B9 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.8% C 0.196 H 308.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #8538B9 |
|---|---|
| RGB | rgb(133, 56, 185) |
| HSL | hsl(276, 54%, 47%) |
| HSV | hsv(276, 70%, 73%) |
| CMYK | cmyk(28.1%, 69.7%, 0%, 27.5%) |
| CIE-LAB | lab(40.11, 54.75, -54.44) |
| CIE-LCH | lch(40.11, 77.21, 315.17°) |
| OKLab | oklab(50.79% 0.1215 -0.1542) |
| OKLCH | oklch(50.79% 0.196 308.2) |
| XYZ | xyz(19.8422, 11.3180, 47.0288) |
| Luminance | 0.1132 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.03
Purply
#983FB2
ΔE00 4.82
Darkviolet
#9400D3
ΔE00 5.38
Blueviolet
#8A2BE2
ΔE00 5.67
Purple (survey)
#7E1E9C
ΔE00 6.47
Royal Purple
#7851A9
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8538B9 #6CB938
analogous
#4538B9 #8538B9 #B938AD
triadic
#8538B9 #B98538 #38B985
tetradic
#8538B9 #B94538 #6CB938 #38ADB9
square
#8538B9 #B94538 #6CB938 #38ADB9
split-complementary
#8538B9 #ADB938 #38B945
monochromatic
#411C5B #632A8A #8538B9 #A25FCF #BD8EDD
Accessibility & contrast
On white
6.43
#8538B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#8538B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8538B9
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8538B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8538B9 | 1.00 | 6.43 | 3.26 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#195FB6
Tritanopia (blue-blind)
#7D5574
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8538b9; /* rgb */ color: rgb(133, 56, 185); /* oklch */ color: oklch(50.8% 0.196 308.2);
Tailwind
colors: {
custom: {
50: '#ad75cf',
500: '#8538b9',
950: '#000000',
},
}SCSS
$custom: #8538b9; $custom-light: #ad75cf; $custom-dark: #000000;
JSON
{
"hex": "#8538b9",
"rgb": {
"r": 133,
"g": 56,
"b": 185
},
"hsl": {
"h": 275.814,
"s": 53.527,
"l": 47.255
},
"oklch": {
"l": 0.50789,
"c": 0.19635,
"h": 308.2
},
"luminance": 0.11318
}Semantic roles & 50–950 ramp
primary
#8538B9
secondary
#A0C885
accent
#DD4B86
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82