#9752C2#9752C2
#9752C2 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.9% C 0.175 H 310.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #9752C2 |
|---|---|
| RGB | rgb(151, 82, 194) |
| HSL | hsl(277, 48%, 54%) |
| HSV | hsv(277, 58%, 76%) |
| CMYK | cmyk(22.2%, 57.7%, 0%, 23.9%) |
| CIE-LAB | lab(47.64, 48.25, -47.48) |
| CIE-LCH | lch(47.64, 67.70, 315.46°) |
| OKLab | oklab(56.91% 0.1137 -0.1334) |
| OKLCH | oklch(56.91% 0.175 310.4) |
| XYZ | xyz(25.5156, 16.5094, 52.8710) |
| Luminance | 0.1651 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.75
Deep Lavender
#8D5EB7
ΔE00 3.98
Purply
#983FB2
ΔE00 5.07
Lightish Purple
#A552E6
ΔE00 5.78
Darkorchid
#9932CC
ΔE00 6.22
Purpley
#8756E4
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9752C2 #7DC252
analogous
#5F52C2 #9752C2 #C252B5
triadic
#9752C2 #C29752 #52C297
tetradic
#9752C2 #C25F52 #7DC252 #52B5C2
square
#9752C2 #C25F52 #7DC252 #52B5C2
split-complementary
#9752C2 #B5C252 #52C25F
monochromatic
#552872 #77389F #9752C2 #B27FD2 #CDACE2
Accessibility & contrast
On white
4.88
#9752C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#9752C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9752C2
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9752C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9752C2 | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C6EC6
Deuteranopia (green-blind)
#4772BF
Tritanopia (blue-blind)
#926682
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9752c2; /* rgb */ color: rgb(151, 82, 194); /* oklch */ color: oklch(56.9% 0.175 310.4);
Tailwind
colors: {
custom: {
50: '#b886d5',
500: '#9752c2',
950: '#000000',
},
}SCSS
$custom: #9752c2; $custom-light: #b886d5; $custom-dark: #000000;
JSON
{
"hex": "#9752c2",
"rgb": {
"r": 151,
"g": 82,
"b": 194
},
"hsl": {
"h": 276.964,
"s": 47.863,
"l": 54.118
},
"oklch": {
"l": 0.5691,
"c": 0.17527,
"h": 310.4
},
"luminance": 0.16509
}Semantic roles & 50–950 ramp
primary
#9752C2
secondary
#B2D0A0
accent
#D75084
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83