#9950CA#9950CA
#9950CA is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.4% C 0.188 H 309.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9950CA |
|---|---|
| RGB | rgb(153, 80, 202) |
| HSL | hsl(276, 54%, 55%) |
| HSV | hsv(276, 60%, 79%) |
| CMYK | cmyk(24.3%, 60.4%, 0%, 20.8%) |
| CIE-LAB | lab(47.97, 51.56, -51.54) |
| CIE-LCH | lch(47.97, 72.91, 315.01°) |
| OKLab | oklab(57.36% 0.1188 -0.1452) |
| OKLCH | oklch(57.36% 0.188 309.3) |
| XYZ | xyz(26.6641, 16.7744, 57.6988) |
| Luminance | 0.1677 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.41
Lightish Purple
#A552E6
ΔE00 4.64
Deep Lavender
#8D5EB7
ΔE00 4.99
Purply
#983FB2
ΔE00 5.58
Darkorchid
#9932CC
ΔE00 5.70
Purpley
#8756E4
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9950CA #81CA50
analogous
#5C50CA #9950CA #CA50BE
triadic
#9950CA #CA9950 #50CA99
tetradic
#9950CA #CA5C50 #81CA50 #50BECA
square
#9950CA #CA5C50 #81CA50 #50BECA
split-complementary
#9950CA #BECA50 #50CA5C
monochromatic
#58257A #7A33A9 #9950CA #B47FD8 #D0AEE6
Accessibility & contrast
On white
4.82
#9950CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#9950CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9950CA
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9950CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9950CA | 1.00 | 4.82 | 4.35 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D6FCE
Deuteranopia (green-blind)
#4073C7
Tritanopia (blue-blind)
#926785
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9950ca; /* rgb */ color: rgb(153, 80, 202); /* oklch */ color: oklch(57.4% 0.188 309.3);
Tailwind
colors: {
custom: {
50: '#ba85db',
500: '#9950ca',
950: '#000000',
},
}SCSS
$custom: #9950ca; $custom-light: #ba85db; $custom-dark: #000000;
JSON
{
"hex": "#9950ca",
"rgb": {
"r": 153,
"g": 80,
"b": 202
},
"hsl": {
"h": 275.902,
"s": 53.509,
"l": 55.294
},
"oklch": {
"l": 0.57362,
"c": 0.18764,
"h": 309.3
},
"luminance": 0.16774
}Semantic roles & 50–950 ramp
primary
#9950CA
secondary
#B6D4A1
accent
#DD4B86
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83