#8A52E0#8A52E0
#8A52E0 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.5% C 0.206 H 297.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #8A52E0 |
|---|---|
| RGB | rgb(138, 82, 224) |
| HSL | hsl(264, 70%, 60%) |
| HSV | hsv(264, 63%, 88%) |
| CMYK | cmyk(38.4%, 63.4%, 0%, 12.2%) |
| CIE-LAB | lab(48.03, 52.48, -64.11) |
| CIE-LCH | lch(48.03, 82.85, 309.30°) |
| OKLab | oklab(57.47% 0.0958 -0.1826) |
| OKLCH | oklch(57.47% 0.206 297.7) |
| XYZ | xyz(26.9496, 16.8193, 72.3331) |
| Luminance | 0.1682 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.32
Lightish Purple
#A552E6
ΔE00 5.00
Light Indigo
#6D5ACF
ΔE00 5.96
Lighter Purple
#A55AF4
ΔE00 6.20
Slate Blue
#6A5ACD
ΔE00 6.56
Bluish Purple
#703BE7
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A52E0 #A8E052
analogous
#5261E0 #8A52E0 #D152E0
triadic
#8A52E0 #E08A52 #52E08A
tetradic
#8A52E0 #E05261 #A8E052 #52E0D1
square
#8A52E0 #E05261 #A8E052 #52E0D1
split-complementary
#8A52E0 #E0D152 #61E052
monochromatic
#4E1C9C #6825D0 #8A52E0 #AD86E9 #D0BAF3
Accessibility & contrast
On white
4.81
#8A52E0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#8A52E0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A52E0
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A52E0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A52E0 | 1.00 | 4.81 | 4.36 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E4
Deuteranopia (green-blind)
#0070DD
Tritanopia (blue-blind)
#757292
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #8a52e0; /* rgb */ color: rgb(138, 82, 224); /* oklch */ color: oklch(57.5% 0.206 297.7);
Tailwind
colors: {
custom: {
50: '#b286eb',
500: '#8a52e0',
950: '#000000',
},
}SCSS
$custom: #8a52e0; $custom-light: #b286eb; $custom-dark: #000000;
JSON
{
"hex": "#8a52e0",
"rgb": {
"r": 138,
"g": 82,
"b": 224
},
"hsl": {
"h": 263.662,
"s": 69.608,
"l": 60
},
"oklch": {
"l": 0.57469,
"c": 0.20621,
"h": 297.7
},
"luminance": 0.1682
}Semantic roles & 50–950 ramp
primary
#8A52E0
secondary
#CDE2AC
accent
#EC3BA7
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84