#8950C1#8950C1
#8950C1 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.0% C 0.173 H 304.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #8950C1 |
|---|---|
| RGB | rgb(137, 80, 193) |
| HSL | hsl(270, 48%, 54%) |
| HSV | hsv(270, 59%, 76%) |
| CMYK | cmyk(29%, 58.5%, 0%, 24.3%) |
| CIE-LAB | lab(45.51, 45.60, -50.40) |
| CIE-LCH | lch(45.51, 67.97, 312.14°) |
| OKLab | oklab(54.96% 0.0982 -0.1424) |
| OKLCH | oklch(54.96% 0.173 304.6) |
| XYZ | xyz(22.8087, 14.9060, 52.1173) |
| Luminance | 0.1491 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.64
Royal Purple
#7851A9
ΔE00 4.79
Purply
#983FB2
ΔE00 5.58
Purpley
#8756E4
ΔE00 5.82
Darkorchid
#9932CC
ΔE00 5.89
Amethyst
#9B5FC0
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8950C1 #88C150
analogous
#5050C1 #8950C1 #C150C0
triadic
#8950C1 #C18950 #50C189
tetradic
#8950C1 #C15050 #88C150 #50C0C1
square
#8950C1 #C15050 #88C150 #50C0C1
split-complementary
#8950C1 #C0C150 #50C150
monochromatic
#4C276F #6A379C #8950C1 #A77DD1 #C6AAE1
Accessibility & contrast
On white
5.27
#8950C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#8950C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8950C1
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8950C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8950C1 | 1.00 | 5.27 | 3.98 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E6AC5
Deuteranopia (green-blind)
#386CBE
Tritanopia (blue-blind)
#7F6681
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8950c1; /* rgb */ color: rgb(137, 80, 193); /* oklch */ color: oklch(55.0% 0.173 304.6);
Tailwind
colors: {
custom: {
50: '#af84d4',
500: '#8950c1',
950: '#000000',
},
}SCSS
$custom: #8950c1; $custom-light: #af84d4; $custom-dark: #000000;
JSON
{
"hex": "#8950c1",
"rgb": {
"r": 137,
"g": 80,
"b": 193
},
"hsl": {
"h": 270.265,
"s": 47.679,
"l": 53.529
},
"oklch": {
"l": 0.54963,
"c": 0.17297,
"h": 304.6
},
"luminance": 0.14906
}Semantic roles & 50–950 ramp
primary
#8950C1
secondary
#B6CF9E
accent
#D75193
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83