#9952CD#9952CD
#9952CD is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.8% C 0.188 H 308.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9952CD |
|---|---|
| RGB | rgb(153, 82, 205) |
| HSL | hsl(275, 55%, 56%) |
| HSV | hsv(275, 60%, 80%) |
| CMYK | cmyk(25.4%, 60%, 0%, 19.6%) |
| CIE-LAB | lab(48.53, 51.23, -52.38) |
| CIE-LCH | lch(48.53, 73.27, 314.37°) |
| OKLab | oklab(57.82% 0.1163 -0.1477) |
| OKLCH | oklch(57.82% 0.188 308.2) |
| XYZ | xyz(27.1714, 17.2151, 59.6372) |
| Luminance | 0.1721 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.09
Amethyst
#9B5FC0
ΔE00 4.24
Deep Lavender
#8D5EB7
ΔE00 4.98
Purpley
#8756E4
ΔE00 5.41
Darkorchid
#9932CC
ΔE00 6.21
Purply
#983FB2
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9952CD #86CD52
analogous
#5C52CD #9952CD #CD52C4
triadic
#9952CD #CD9952 #52CD99
tetradic
#9952CD #CD5C52 #86CD52 #52C4CD
square
#9952CD #CD5C52 #86CD52 #52C4CD
split-complementary
#9952CD #C4CD52 #52CD5C
monochromatic
#592580 #7B33AF #9952CD #B581DB #D1B1E8
Accessibility & contrast
On white
4.73
#9952CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#9952CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9952CD
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9952CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9952CD | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D70D1
Deuteranopia (green-blind)
#3F74CA
Tritanopia (blue-blind)
#916A88
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9952cd; /* rgb */ color: rgb(153, 82, 205); /* oklch */ color: oklch(57.8% 0.188 308.2);
Tailwind
colors: {
custom: {
50: '#ba86dd',
500: '#9952cd',
950: '#000000',
},
}SCSS
$custom: #9952cd; $custom-light: #ba86dd; $custom-dark: #000000;
JSON
{
"hex": "#9952cd",
"rgb": {
"r": 153,
"g": 82,
"b": 205
},
"hsl": {
"h": 274.634,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.57824,
"c": 0.18799,
"h": 308.2
},
"luminance": 0.17215
}Semantic roles & 50–950 ramp
primary
#9952CD
secondary
#B9D7A4
accent
#DE4988
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83