#8950BA#8950BA
#8950BA is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.5% C 0.165 H 306.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #8950BA |
|---|---|
| RGB | rgb(137, 80, 186) |
| HSL | hsl(272, 43%, 52%) |
| HSV | hsv(272, 57%, 73%) |
| CMYK | cmyk(26.3%, 57%, 0%, 27.1%) |
| CIE-LAB | lab(45.08, 43.92, -47.01) |
| CIE-LCH | lch(45.08, 64.33, 313.06°) |
| OKLab | oklab(54.52% 0.0981 -0.1324) |
| OKLCH | oklch(54.52% 0.165 306.5) |
| XYZ | xyz(22.0463, 14.6011, 48.1017) |
| Luminance | 0.1460 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.07
Deep Lavender
#8D5EB7
ΔE00 4.22
Purply
#983FB2
ΔE00 4.96
Amethyst
#9B5FC0
ΔE00 5.85
Darkorchid
#9932CC
ΔE00 6.17
Purpley
#8756E4
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8950BA #81BA50
analogous
#5450BA #8950BA #BA50B6
triadic
#8950BA #BA8950 #50BA89
tetradic
#8950BA #BA5450 #81BA50 #50B6BA
square
#8950BA #BA5450 #81BA50 #50B6BA
split-complementary
#8950BA #B6BA50 #50BA54
monochromatic
#4A2967 #6A3A93 #8950BA #A77CCB #C4A8DD
Accessibility & contrast
On white
5.36
#8950BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#8950BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8950BA
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8950BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8950BA | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2969BD
Deuteranopia (green-blind)
#3F6BB7
Tritanopia (blue-blind)
#81647D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8950ba; /* rgb */ color: rgb(137, 80, 186); /* oklch */ color: oklch(54.5% 0.165 306.5);
Tailwind
colors: {
custom: {
50: '#ae83cf',
500: '#8950ba',
950: '#000000',
},
}SCSS
$custom: #8950ba; $custom-light: #ae83cf; $custom-dark: #000000;
JSON
{
"hex": "#8950ba",
"rgb": {
"r": 137,
"g": 80,
"b": 186
},
"hsl": {
"h": 272.264,
"s": 43.443,
"l": 52.157
},
"oklch": {
"l": 0.54518,
"c": 0.1648,
"h": 306.5
},
"luminance": 0.14601
}Semantic roles & 50–950 ramp
primary
#8950BA
secondary
#B1CA9C
accent
#D3558F
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82