#9752CD#9752CD
#9752CD is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.6% C 0.187 H 307.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9752CD |
|---|---|
| RGB | rgb(151, 82, 205) |
| HSL | hsl(274, 55%, 56%) |
| HSV | hsv(274, 60%, 80%) |
| CMYK | cmyk(26.3%, 60%, 0%, 19.6%) |
| CIE-LAB | lab(48.29, 50.76, -52.78) |
| CIE-LCH | lch(48.29, 73.23, 313.88°) |
| OKLab | oklab(57.6% 0.1138 -0.1489) |
| OKLCH | oklch(57.6% 0.187 307.4) |
| XYZ | xyz(26.7970, 17.0220, 59.6197) |
| Luminance | 0.1702 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.25
Amethyst
#9B5FC0
ΔE00 4.43
Deep Lavender
#8D5EB7
ΔE00 4.93
Purpley
#8756E4
ΔE00 5.13
Darkorchid
#9932CC
ΔE00 6.13
Purply
#983FB2
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9752CD #88CD52
analogous
#5A52CD #9752CD #CD52C5
triadic
#9752CD #CD9752 #52CD97
tetradic
#9752CD #CD5A52 #88CD52 #52C5CD
square
#9752CD #CD5A52 #88CD52 #52C5CD
split-complementary
#9752CD #C5CD52 #52CD5A
monochromatic
#582580 #7833AF #9752CD #B481DB #D0B1E8
Accessibility & contrast
On white
4.77
#9752CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#9752CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9752CD
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9752CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9752CD | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B70D1
Deuteranopia (green-blind)
#3D73CA
Tritanopia (blue-blind)
#8F6A88
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9752cd; /* rgb */ color: rgb(151, 82, 205); /* oklch */ color: oklch(57.6% 0.187 307.4);
Tailwind
colors: {
custom: {
50: '#b986dd',
500: '#9752cd',
950: '#000000',
},
}SCSS
$custom: #9752cd; $custom-light: #b986dd; $custom-dark: #000000;
JSON
{
"hex": "#9752cd",
"rgb": {
"r": 151,
"g": 82,
"b": 205
},
"hsl": {
"h": 273.659,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.57595,
"c": 0.1874,
"h": 307.4
},
"luminance": 0.17022
}Semantic roles & 50–950 ramp
primary
#9752CD
secondary
#BAD7A4
accent
#DE498B
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83