#9A50CE#9A50CE
#9A50CE is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.7% C 0.192 H 308.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #9A50CE |
|---|---|
| RGB | rgb(154, 80, 206) |
| HSL | hsl(275, 56%, 56%) |
| HSV | hsv(275, 61%, 81%) |
| CMYK | cmyk(25.2%, 61.2%, 0%, 19.2%) |
| CIE-LAB | lab(48.34, 52.70, -53.25) |
| CIE-LCH | lch(48.34, 74.92, 314.70°) |
| OKLab | oklab(57.73% 0.12 -0.1502) |
| OKLCH | oklch(57.73% 0.192 308.6) |
| XYZ | xyz(27.3334, 17.0640, 60.2343) |
| Luminance | 0.1706 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.03
Amethyst
#9B5FC0
ΔE00 4.62
Deep Lavender
#8D5EB7
ΔE00 5.37
Purpley
#8756E4
ΔE00 5.49
Darkorchid
#9932CC
ΔE00 5.80
Purply
#983FB2
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A50CE #84CE50
analogous
#5B50CE #9A50CE #CE50C3
triadic
#9A50CE #CE9A50 #50CE9A
tetradic
#9A50CE #CE5B50 #84CE50 #50C3CE
square
#9A50CE #CE5B50 #84CE50 #50C3CE
split-complementary
#9A50CE #C3CE50 #50CE5B
monochromatic
#5A2480 #7B31B0 #9A50CE #B680DB #D1B0E9
Accessibility & contrast
On white
4.76
#9A50CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#9A50CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A50CE
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A50CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A50CE | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1470D2
Deuteranopia (green-blind)
#3D74CB
Tritanopia (blue-blind)
#926988
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9a50ce; /* rgb */ color: rgb(154, 80, 206); /* oklch */ color: oklch(57.7% 0.192 308.6);
Tailwind
colors: {
custom: {
50: '#bb85de',
500: '#9a50ce',
950: '#000000',
},
}SCSS
$custom: #9a50ce; $custom-light: #bb85de; $custom-dark: #000000;
JSON
{
"hex": "#9a50ce",
"rgb": {
"r": 154,
"g": 80,
"b": 206
},
"hsl": {
"h": 275.238,
"s": 56.25,
"l": 56.078
},
"oklch": {
"l": 0.57733,
"c": 0.19226,
"h": 308.6
},
"luminance": 0.17064
}Semantic roles & 50–950 ramp
primary
#9A50CE
secondary
#B8D7A3
accent
#E04887
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83