#9752CF#9752CF
#9752CF is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.7% C 0.190 H 306.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #9752CF |
|---|---|
| RGB | rgb(151, 82, 207) |
| HSL | hsl(273, 57%, 57%) |
| HSV | hsv(273, 60%, 81%) |
| CMYK | cmyk(27.1%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(48.41, 51.22, -53.73) |
| CIE-LCH | lch(48.41, 74.23, 313.63°) |
| OKLab | oklab(57.72% 0.1137 -0.1517) |
| OKLCH | oklch(57.72% 0.19 306.9) |
| XYZ | xyz(27.0399, 17.1192, 60.8992) |
| Luminance | 0.1712 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.01
Amethyst
#9B5FC0
ΔE00 4.61
Purpley
#8756E4
ΔE00 4.86
Deep Lavender
#8D5EB7
ΔE00 5.14
Darkorchid
#9932CC
ΔE00 6.17
Lighter Purple
#A55AF4
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9752CF #8ACF52
analogous
#5952CF #9752CF #CF52C9
triadic
#9752CF #CF9752 #52CF97
tetradic
#9752CF #CF5952 #8ACF52 #52C9CF
square
#9752CF #CF5952 #8ACF52 #52C9CF
split-complementary
#9752CF #C9CF52 #52CF59
monochromatic
#582482 #7931B2 #9752CF #B482DC #D1B2EA
Accessibility & contrast
On white
4.75
#9752CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#9752CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9752CF
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9752CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9752CF | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1671D3
Deuteranopia (green-blind)
#3B73CC
Tritanopia (blue-blind)
#8E6B89
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9752cf; /* rgb */ color: rgb(151, 82, 207); /* oklch */ color: oklch(57.7% 0.190 306.9);
Tailwind
colors: {
custom: {
50: '#b986de',
500: '#9752cf',
950: '#000000',
},
}SCSS
$custom: #9752cf; $custom-light: #b986de; $custom-dark: #000000;
JSON
{
"hex": "#9752cf",
"rgb": {
"r": 151,
"g": 82,
"b": 207
},
"hsl": {
"h": 273.12,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.57723,
"c": 0.1896,
"h": 306.9
},
"luminance": 0.17119
}Semantic roles & 50–950 ramp
primary
#9752CF
secondary
#BCD8A5
accent
#E0488C
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83