#9D52CD#9D52CD
#9D52CD is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.3% C 0.189 H 309.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #9D52CD |
|---|---|
| RGB | rgb(157, 82, 205) |
| HSL | hsl(277, 55%, 56%) |
| HSV | hsv(277, 60%, 80%) |
| CMYK | cmyk(23.4%, 60%, 0%, 19.6%) |
| CIE-LAB | lab(49.02, 52.19, -51.57) |
| CIE-LCH | lch(49.02, 73.37, 315.34°) |
| OKLab | oklab(58.29% 0.1214 -0.1452) |
| OKLCH | oklch(58.29% 0.189 309.9) |
| XYZ | xyz(27.9393, 17.6110, 59.6732) |
| Luminance | 0.1761 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.87
Amethyst
#9B5FC0
ΔE00 3.95
Deep Lavender
#8D5EB7
ΔE00 5.17
Mediumorchid
#BA55D3
ΔE00 5.93
Purpley
#8756E4
ΔE00 6.01
Purply
#983FB2
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D52CD #82CD52
analogous
#6052CD #9D52CD #CD52C0
triadic
#9D52CD #CD9D52 #52CD9D
tetradic
#9D52CD #CD6052 #82CD52 #52C0CD
square
#9D52CD #CD6052 #82CD52 #52C0CD
split-complementary
#9D52CD #C0CD52 #52CD60
monochromatic
#5C2580 #7F33AF #9D52CD #B881DB #D3B1E8
Accessibility & contrast
On white
4.64
#9D52CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#9D52CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9D52CD
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D52CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D52CD | 1.00 | 4.64 | 4.52 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2171D1
Deuteranopia (green-blind)
#4476CA
Tritanopia (blue-blind)
#976988
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9d52cd; /* rgb */ color: rgb(157, 82, 205); /* oklch */ color: oklch(58.3% 0.189 309.9);
Tailwind
colors: {
custom: {
50: '#bd86dd',
500: '#9d52cd',
950: '#000000',
},
}SCSS
$custom: #9d52cd; $custom-light: #bd86dd; $custom-dark: #000000;
JSON
{
"hex": "#9d52cd",
"rgb": {
"r": 157,
"g": 82,
"b": 205
},
"hsl": {
"h": 276.585,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.58289,
"c": 0.18926,
"h": 309.9
},
"luminance": 0.1761
}Semantic roles & 50–950 ramp
primary
#9D52CD
secondary
#B8D7A4
accent
#DE4984
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120B15
muted
#817C83