#9952CF#9952CF
#9952CF is a mid, vivid violet. Relative luminance 0.173; OKLCH L 58.0% C 0.190 H 307.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9952CF |
|---|---|
| RGB | rgb(153, 82, 207) |
| HSL | hsl(274, 57%, 57%) |
| HSV | hsv(274, 60%, 81%) |
| CMYK | cmyk(26.1%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(48.65, 51.69, -53.33) |
| CIE-LCH | lch(48.65, 74.27, 314.10°) |
| OKLab | oklab(57.95% 0.1163 -0.1505) |
| OKLCH | oklch(57.95% 0.19 307.7) |
| XYZ | xyz(27.4143, 17.3122, 60.9168) |
| Luminance | 0.1731 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.83
Amethyst
#9B5FC0
ΔE00 4.42
Purpley
#8756E4
ΔE00 5.14
Deep Lavender
#8D5EB7
ΔE00 5.18
Darkorchid
#9932CC
ΔE00 6.25
Lighter Purple
#A55AF4
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9952CF #88CF52
analogous
#5B52CF #9952CF #CF52C7
triadic
#9952CF #CF9952 #52CF99
tetradic
#9952CF #CF5B52 #88CF52 #52C7CF
square
#9952CF #CF5B52 #88CF52 #52C7CF
split-complementary
#9952CF #C7CF52 #52CF5B
monochromatic
#5A2482 #7B31B2 #9952CF #B582DC #D1B2EA
Accessibility & contrast
On white
4.71
#9952CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#9952CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9952CF
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9952CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9952CF | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1971D3
Deuteranopia (green-blind)
#3D74CC
Tritanopia (blue-blind)
#916B89
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9952cf; /* rgb */ color: rgb(153, 82, 207); /* oklch */ color: oklch(58.0% 0.190 307.7);
Tailwind
colors: {
custom: {
50: '#bb86de',
500: '#9952cf',
950: '#000000',
},
}SCSS
$custom: #9952cf; $custom-light: #bb86de; $custom-dark: #000000;
JSON
{
"hex": "#9952cf",
"rgb": {
"r": 153,
"g": 82,
"b": 207
},
"hsl": {
"h": 274.08,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.57951,
"c": 0.19018,
"h": 307.7
},
"luminance": 0.17312
}Semantic roles & 50–950 ramp
primary
#9952CF
secondary
#BBD8A5
accent
#E0488A
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83