#8A50C9#8A50C9
#8A50C9 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.6% C 0.182 H 303.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8A50C9 |
|---|---|
| RGB | rgb(138, 80, 201) |
| HSL | hsl(269, 53%, 55%) |
| HSV | hsv(269, 60%, 79%) |
| CMYK | cmyk(31.3%, 60.2%, 0%, 21.2%) |
| CIE-LAB | lab(46.12, 47.79, -54.04) |
| CIE-LCH | lch(46.12, 72.14, 311.49°) |
| OKLab | oklab(55.6% 0.0994 -0.153) |
| OKLCH | oklch(55.6% 0.182 303) |
| XYZ | xyz(23.8901, 15.3577, 56.9527) |
| Luminance | 0.1536 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.62
Deep Lavender
#8D5EB7
ΔE00 5.26
Darkorchid
#9932CC
ΔE00 5.79
Royal Purple
#7851A9
ΔE00 5.85
Amethyst
#9B5FC0
ΔE00 6.21
Purply
#983FB2
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A50C9 #8FC950
analogous
#5053C9 #8A50C9 #C650C9
triadic
#8A50C9 #C98A50 #50C98A
tetradic
#8A50C9 #C95053 #8FC950 #50C9C6
square
#8A50C9 #C95053 #8FC950 #50C9C6
split-complementary
#8A50C9 #C9C650 #53C950
monochromatic
#4E2579 #6B34A8 #8A50C9 #A97FD7 #C9AEE6
Accessibility & contrast
On white
5.16
#8A50C9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#8A50C9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A50C9
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A50C9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A50C9 | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B6CCD
Deuteranopia (green-blind)
#306DC6
Tritanopia (blue-blind)
#7E6985
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8a50c9; /* rgb */ color: rgb(138, 80, 201); /* oklch */ color: oklch(55.6% 0.182 303.0);
Tailwind
colors: {
custom: {
50: '#b084da',
500: '#8a50c9',
950: '#000000',
},
}SCSS
$custom: #8a50c9; $custom-light: #b084da; $custom-dark: #000000;
JSON
{
"hex": "#8a50c9",
"rgb": {
"r": 138,
"g": 80,
"b": 201
},
"hsl": {
"h": 268.76,
"s": 52.838,
"l": 55.098
},
"oklch": {
"l": 0.55598,
"c": 0.18248,
"h": 303
},
"luminance": 0.15358
}Semantic roles & 50–950 ramp
primary
#8A50C9
secondary
#BBD4A1
accent
#DC4C97
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83