#8252D2#8252D2
#8252D2 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.7% C 0.189 H 297.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8252D2 |
|---|---|
| RGB | rgb(130, 82, 210) |
| HSL | hsl(263, 59%, 57%) |
| HSV | hsv(263, 61%, 82%) |
| CMYK | cmyk(38.1%, 61%, 0%, 17.6%) |
| CIE-LAB | lab(46.22, 47.19, -59.10) |
| CIE-LCH | lch(46.22, 75.62, 308.61°) |
| OKLab | oklab(55.66% 0.0861 -0.1681) |
| OKLCH | oklch(55.66% 0.189 297.1) |
| XYZ | xyz(23.8531, 15.4332, 62.6825) |
| Luminance | 0.1543 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.03
Light Indigo
#6D5ACF
ΔE00 4.59
Slate Blue
#6A5ACD
ΔE00 5.12
Bluish Purple
#703BE7
ΔE00 6.47
Iris
#6258C4
ΔE00 6.54
Deep Lavender
#8D5EB7
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8252D2 #A2D252
analogous
#5262D2 #8252D2 #C252D2
triadic
#8252D2 #D28252 #52D282
tetradic
#8252D2 #D25262 #A2D252 #52D2C2
square
#8252D2 #D25262 #A2D252 #52D2C2
split-complementary
#8252D2 #D2C252 #62D252
monochromatic
#482387 #6230B7 #8252D2 #A583DF #C8B3EB
Accessibility & contrast
On white
5.14
#8252D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#8252D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8252D2
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8252D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8252D2 | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#156CCF
Tritanopia (blue-blind)
#6F6E8A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8252d2; /* rgb */ color: rgb(130, 82, 210); /* oklch */ color: oklch(55.7% 0.189 297.1);
Tailwind
colors: {
custom: {
50: '#ab85e1',
500: '#8252d2',
950: '#000000',
},
}SCSS
$custom: #8252d2; $custom-light: #ab85e1; $custom-dark: #000000;
JSON
{
"hex": "#8252d2",
"rgb": {
"r": 130,
"g": 82,
"b": 210
},
"hsl": {
"h": 262.5,
"s": 58.716,
"l": 57.255
},
"oklch": {
"l": 0.55658,
"c": 0.18891,
"h": 297.1
},
"luminance": 0.15434
}Semantic roles & 50–950 ramp
primary
#8252D2
secondary
#C6DAA6
accent
#E246A7
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83