#8D52AF#8D52AF
#8D52AF is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.6% C 0.150 H 311.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #8D52AF |
|---|---|
| RGB | rgb(141, 82, 175) |
| HSL | hsl(278, 37%, 50%) |
| HSV | hsv(278, 53%, 69%) |
| CMYK | cmyk(19.4%, 53.1%, 0%, 31.4%) |
| CIE-LAB | lab(45.35, 41.34, -40.11) |
| CIE-LCH | lch(45.35, 57.60, 315.86°) |
| OKLab | oklab(54.62% 0.0999 -0.1122) |
| OKLCH | oklch(54.62% 0.15 311.7) |
| XYZ | xyz(21.7383, 14.7929, 42.2593) |
| Luminance | 0.1479 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.65
Royal Purple
#7851A9
ΔE00 4.48
Purply
#983FB2
ΔE00 4.53
Amethyst
#9B5FC0
ΔE00 5.25
Medium Purple
#9E43A2
ΔE00 5.70
Ugly Purple
#A442A0
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D52AF #74AF52
analogous
#5F52AF #8D52AF #AF52A2
triadic
#8D52AF #AF8D52 #52AF8D
tetradic
#8D52AF #AF5F52 #74AF52 #52A2AF
square
#8D52AF #AF5F52 #74AF52 #52A2AF
split-complementary
#8D52AF #A2AF52 #52AF5F
monochromatic
#4A2B5C #6C3E86 #8D52AF #A97CC2 #C4A6D6
Accessibility & contrast
On white
5.31
#8D52AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#8D52AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D52AF
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D52AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D52AF | 1.00 | 5.31 | 3.96 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3968B2
Deuteranopia (green-blind)
#4C6DAD
Tritanopia (blue-blind)
#896279
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8d52af; /* rgb */ color: rgb(141, 82, 175); /* oklch */ color: oklch(54.6% 0.150 311.7);
Tailwind
colors: {
custom: {
50: '#b085c7',
500: '#8d52af',
950: '#000000',
},
}SCSS
$custom: #8d52af; $custom-light: #b085c7; $custom-dark: #000000;
JSON
{
"hex": "#8d52af",
"rgb": {
"r": 141,
"g": 82,
"b": 175
},
"hsl": {
"h": 278.065,
"s": 36.759,
"l": 50.392
},
"oklch": {
"l": 0.54618,
"c": 0.15023,
"h": 311.7
},
"luminance": 0.14792
}Semantic roles & 50–950 ramp
primary
#8D52AF
secondary
#A9C39A
accent
#CD5B85
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82