#8752CF#8752CF
#8752CF is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.0% C 0.186 H 299.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8752CF |
|---|---|
| RGB | rgb(135, 82, 207) |
| HSL | hsl(265, 57%, 57%) |
| HSV | hsv(265, 60%, 81%) |
| CMYK | cmyk(34.8%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(46.57, 47.53, -56.79) |
| CIE-LCH | lch(46.57, 74.06, 309.92°) |
| OKLab | oklab(55.97% 0.0929 -0.1612) |
| OKLCH | oklch(55.97% 0.186 299.9) |
| XYZ | xyz(24.2687, 15.6903, 60.7693) |
| Luminance | 0.1569 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.41
Light Indigo
#6D5ACF
ΔE00 5.52
Deep Lavender
#8D5EB7
ΔE00 5.83
Slate Blue
#6A5ACD
ΔE00 6.05
Lightish Purple
#A552E6
ΔE00 6.20
Royal Purple
#7851A9
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8752CF #9ACF52
analogous
#525CCF #8752CF #C652CF
triadic
#8752CF #CF8752 #52CF87
tetradic
#8752CF #CF525C #9ACF52 #52CFC6
square
#8752CF #CF525C #9ACF52 #52CFC6
split-complementary
#8752CF #CFC652 #5CCF52
monochromatic
#4C2482 #6831B2 #8752CF #A882DC #C9B2EA
Accessibility & contrast
On white
5.07
#8752CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#8752CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8752CF
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8752CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8752CF | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#266DCC
Tritanopia (blue-blind)
#786D89
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8752cf; /* rgb */ color: rgb(135, 82, 207); /* oklch */ color: oklch(56.0% 0.186 299.9);
Tailwind
colors: {
custom: {
50: '#ae85de',
500: '#8752cf',
950: '#000000',
},
}SCSS
$custom: #8752cf; $custom-light: #ae85de; $custom-dark: #000000;
JSON
{
"hex": "#8752cf",
"rgb": {
"r": 135,
"g": 82,
"b": 207
},
"hsl": {
"h": 265.44,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.55969,
"c": 0.18605,
"h": 299.9
},
"luminance": 0.1569
}Semantic roles & 50–950 ramp
primary
#8752CF
secondary
#C2D8A5
accent
#E0489F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83