#9950CC#9950CC
#9950CC is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.5% C 0.190 H 308.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9950CC |
|---|---|
| RGB | rgb(153, 80, 204) |
| HSL | hsl(275, 55%, 56%) |
| HSV | hsv(275, 61%, 80%) |
| CMYK | cmyk(25%, 60.8%, 0%, 20%) |
| CIE-LAB | lab(48.10, 52.01, -52.50) |
| CIE-LCH | lch(48.10, 73.90, 314.73°) |
| OKLab | oklab(57.49% 0.1188 -0.148) |
| OKLCH | oklch(57.49% 0.19 308.7) |
| XYZ | xyz(26.9024, 16.8697, 58.9540) |
| Luminance | 0.1687 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.37
Amethyst
#9B5FC0
ΔE00 4.55
Deep Lavender
#8D5EB7
ΔE00 5.16
Purpley
#8756E4
ΔE00 5.61
Darkorchid
#9932CC
ΔE00 5.72
Purply
#983FB2
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9950CC #83CC50
analogous
#5B50CC #9950CC #CC50C1
triadic
#9950CC #CC9950 #50CC99
tetradic
#9950CC #CC5B50 #83CC50 #50C1CC
square
#9950CC #CC5B50 #83CC50 #50C1CC
split-complementary
#9950CC #C1CC50 #50CC5B
monochromatic
#59247D #7A32AD #9950CC #B57FDA #D0AFE8
Accessibility & contrast
On white
4.80
#9950CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#9950CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9950CC
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9950CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9950CC | 1.00 | 4.80 | 4.37 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#186FD0
Deuteranopia (green-blind)
#3E73C9
Tritanopia (blue-blind)
#926887
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9950cc; /* rgb */ color: rgb(153, 80, 204); /* oklch */ color: oklch(57.5% 0.190 308.7);
Tailwind
colors: {
custom: {
50: '#ba85dc',
500: '#9950cc',
950: '#000000',
},
}SCSS
$custom: #9950cc; $custom-light: #ba85dc; $custom-dark: #000000;
JSON
{
"hex": "#9950cc",
"rgb": {
"r": 153,
"g": 80,
"b": 204
},
"hsl": {
"h": 275.323,
"s": 54.867,
"l": 55.686
},
"oklch": {
"l": 0.57489,
"c": 0.18979,
"h": 308.7
},
"luminance": 0.16869
}Semantic roles & 50–950 ramp
primary
#9950CC
secondary
#B7D6A2
accent
#DE4A87
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83