#9752C0#9752C0
#9752C0 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.8% C 0.173 H 311.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9752C0 |
|---|---|
| RGB | rgb(151, 82, 192) |
| HSL | hsl(278, 47%, 54%) |
| HSV | hsv(278, 57%, 75%) |
| CMYK | cmyk(21.4%, 57.3%, 0%, 24.7%) |
| CIE-LAB | lab(47.52, 47.81, -46.51) |
| CIE-LCH | lch(47.52, 66.70, 315.79°) |
| OKLab | oklab(56.79% 0.1136 -0.1305) |
| OKLCH | oklch(56.79% 0.173 311) |
| XYZ | xyz(25.2925, 16.4202, 51.6960) |
| Luminance | 0.1642 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.70
Deep Lavender
#8D5EB7
ΔE00 3.88
Purply
#983FB2
ΔE00 4.89
Lightish Purple
#A552E6
ΔE00 6.08
Darkorchid
#9932CC
ΔE00 6.31
Royal Purple
#7851A9
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9752C0 #7BC052
analogous
#6052C0 #9752C0 #C052B2
triadic
#9752C0 #C09752 #52C097
tetradic
#9752C0 #C06052 #7BC052 #52B2C0
square
#9752C0 #C06052 #7BC052 #52B2C0
split-complementary
#9752C0 #B2C052 #52C060
monochromatic
#55286F #77399C #9752C0 #B27FD0 #CDACE1
Accessibility & contrast
On white
4.90
#9752C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#9752C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9752C0
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9752C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9752C0 | 1.00 | 4.90 | 4.28 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F6DC4
Deuteranopia (green-blind)
#4972BD
Tritanopia (blue-blind)
#926681
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9752c0; /* rgb */ color: rgb(151, 82, 192); /* oklch */ color: oklch(56.8% 0.173 311.0);
Tailwind
colors: {
custom: {
50: '#b886d3',
500: '#9752c0',
950: '#000000',
},
}SCSS
$custom: #9752c0; $custom-light: #b886d3; $custom-dark: #000000;
JSON
{
"hex": "#9752c0",
"rgb": {
"r": 151,
"g": 82,
"b": 192
},
"hsl": {
"h": 277.636,
"s": 46.61,
"l": 53.725
},
"oklch": {
"l": 0.56789,
"c": 0.17308,
"h": 311
},
"luminance": 0.1642
}Semantic roles & 50–950 ramp
primary
#9752C0
secondary
#B1CE9F
accent
#D65283
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83