#8A52CF#8A52CF
#8A52CF is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.3% C 0.187 H 301.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #8A52CF |
|---|---|
| RGB | rgb(138, 82, 207) |
| HSL | hsl(267, 57%, 57%) |
| HSV | hsv(267, 60%, 81%) |
| CMYK | cmyk(33.3%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(46.90, 48.21, -56.24) |
| CIE-LCH | lch(46.90, 74.07, 310.60°) |
| OKLab | oklab(56.29% 0.0968 -0.1595) |
| OKLCH | oklch(56.29% 0.187 301.3) |
| XYZ | xyz(24.7583, 15.9427, 60.7923) |
| Luminance | 0.1594 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.52
Deep Lavender
#8D5EB7
ΔE00 5.58
Lightish Purple
#A552E6
ΔE00 5.72
Light Indigo
#6D5ACF
ΔE00 6.05
Amethyst
#9B5FC0
ΔE00 6.30
Darkorchid
#9932CC
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A52CF #97CF52
analogous
#5259CF #8A52CF #C952CF
triadic
#8A52CF #CF8A52 #52CF8A
tetradic
#8A52CF #CF5259 #97CF52 #52CFC9
square
#8A52CF #CF5259 #97CF52 #52CFC9
split-complementary
#8A52CF #CFC952 #59CF52
monochromatic
#4E2482 #6B31B2 #8A52CF #AA82DC #CBB2EA
Accessibility & contrast
On white
5.01
#8A52CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#8A52CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A52CF
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A52CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A52CF | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#2B6FCC
Tritanopia (blue-blind)
#7C6C89
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #8a52cf; /* rgb */ color: rgb(138, 82, 207); /* oklch */ color: oklch(56.3% 0.187 301.3);
Tailwind
colors: {
custom: {
50: '#b085de',
500: '#8a52cf',
950: '#000000',
},
}SCSS
$custom: #8a52cf; $custom-light: #b085de; $custom-dark: #000000;
JSON
{
"hex": "#8a52cf",
"rgb": {
"r": 138,
"g": 82,
"b": 207
},
"hsl": {
"h": 266.88,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.56288,
"c": 0.18656,
"h": 301.3
},
"luminance": 0.15943
}Semantic roles & 50–950 ramp
primary
#8A52CF
secondary
#C1D8A5
accent
#E0489C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83