#8752AF#8752AF
#8752AF is a mid, vivid violet. Relative luminance 0.143; OKLCH L 53.9% C 0.148 H 308.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #8752AF |
|---|---|
| RGB | rgb(135, 82, 175) |
| HSL | hsl(274, 37%, 50%) |
| HSV | hsv(274, 53%, 69%) |
| CMYK | cmyk(22.9%, 53.1%, 0%, 31.4%) |
| CIE-LAB | lab(44.63, 39.69, -41.29) |
| CIE-LCH | lch(44.63, 57.28, 313.87°) |
| OKLab | oklab(53.93% 0.0923 -0.1158) |
| OKLCH | oklch(53.93% 0.148 308.6) |
| XYZ | xyz(20.7453, 14.2809, 42.2128) |
| Luminance | 0.1428 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.19
Deep Lavender
#8D5EB7
ΔE00 3.81
Purply
#983FB2
ΔE00 5.14
Amethyst
#9B5FC0
ΔE00 5.98
Medium Purple
#9E43A2
ΔE00 6.73
Darkorchid
#9932CC
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8752AF #7AAF52
analogous
#5952AF #8752AF #AF52A8
triadic
#8752AF #AF8752 #52AF87
tetradic
#8752AF #AF5952 #7AAF52 #52A8AF
square
#8752AF #AF5952 #7AAF52 #52A8AF
split-complementary
#8752AF #A8AF52 #52AF59
monochromatic
#472B5C #673E86 #8752AF #A47CC2 #C1A6D6
Accessibility & contrast
On white
5.45
#8752AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#8752AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8752AF
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8752AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8752AF | 1.00 | 5.45 | 3.86 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3767B2
Deuteranopia (green-blind)
#476AAD
Tritanopia (blue-blind)
#816279
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8752af; /* rgb */ color: rgb(135, 82, 175); /* oklch */ color: oklch(53.9% 0.148 308.6);
Tailwind
colors: {
custom: {
50: '#ac84c7',
500: '#8752af',
950: '#000000',
},
}SCSS
$custom: #8752af; $custom-light: #ac84c7; $custom-dark: #000000;
JSON
{
"hex": "#8752af",
"rgb": {
"r": 135,
"g": 82,
"b": 175
},
"hsl": {
"h": 274.194,
"s": 36.759,
"l": 50.392
},
"oklch": {
"l": 0.5393,
"c": 0.14805,
"h": 308.6
},
"luminance": 0.14281
}Semantic roles & 50–950 ramp
primary
#8752AF
secondary
#ACC39A
accent
#CD5B8C
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82