#9D52C2#9D52C2
#9D52C2 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.6% C 0.177 H 313.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #9D52C2 |
|---|---|
| RGB | rgb(157, 82, 194) |
| HSL | hsl(280, 48%, 54%) |
| HSV | hsv(280, 58%, 76%) |
| CMYK | cmyk(19.1%, 57.7%, 0%, 23.9%) |
| CIE-LAB | lab(48.38, 49.77, -46.25) |
| CIE-LCH | lch(48.38, 67.94, 317.10°) |
| OKLab | oklab(57.62% 0.1212 -0.1296) |
| OKLCH | oklch(57.62% 0.177 313.1) |
| XYZ | xyz(26.6579, 17.0984, 52.9245) |
| Luminance | 0.1710 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.36
Deep Lavender
#8D5EB7
ΔE00 4.45
Purply
#983FB2
ΔE00 5.20
Lightish Purple
#A552E6
ΔE00 5.61
Mediumorchid
#BA55D3
ΔE00 6.07
Darkorchid
#9932CC
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D52C2 #77C252
analogous
#6552C2 #9D52C2 #C252AF
triadic
#9D52C2 #C29D52 #52C29D
tetradic
#9D52C2 #C26552 #77C252 #52AFC2
square
#9D52C2 #C26552 #77C252 #52AFC2
split-complementary
#9D52C2 #AFC252 #52C265
monochromatic
#592872 #7D389F #9D52C2 #B77FD2 #D0ACE2
Accessibility & contrast
On white
4.75
#9D52C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#9D52C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D52C2
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D52C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D52C2 | 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)
#306FC6
Deuteranopia (green-blind)
#4D75BF
Tritanopia (blue-blind)
#996682
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9d52c2; /* rgb */ color: rgb(157, 82, 194); /* oklch */ color: oklch(57.6% 0.177 313.1);
Tailwind
colors: {
custom: {
50: '#bd86d5',
500: '#9d52c2',
950: '#000000',
},
}SCSS
$custom: #9d52c2; $custom-light: #bd86d5; $custom-dark: #000000;
JSON
{
"hex": "#9d52c2",
"rgb": {
"r": 157,
"g": 82,
"b": 194
},
"hsl": {
"h": 280.179,
"s": 47.863,
"l": 54.118
},
"oklch": {
"l": 0.57619,
"c": 0.17748,
"h": 313.1
},
"luminance": 0.17098
}Semantic roles & 50–950 ramp
primary
#9D52C2
secondary
#B0D0A0
accent
#D7507D
background
#FBF8FD
surface
#F7F0FA
border
#D0CBD3
text
#120B14
muted
#817C83