#8A50E6#8A50E6
#8A50E6 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.6% C 0.216 H 296.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #8A50E6 |
|---|---|
| RGB | rgb(138, 80, 230) |
| HSL | hsl(263, 75%, 61%) |
| HSV | hsv(263, 65%, 90%) |
| CMYK | cmyk(40%, 65.2%, 0%, 9.8%) |
| CIE-LAB | lab(48.07, 55.03, -67.44) |
| CIE-LCH | lch(48.07, 87.04, 309.22°) |
| OKLab | oklab(57.63% 0.0973 -0.1924) |
| OKLCH | oklch(57.63% 0.216 296.8) |
| XYZ | xyz(27.6291, 16.8533, 76.6449) |
| Luminance | 0.1685 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.44
Lightish Purple
#A552E6
ΔE00 5.10
Lighter Purple
#A55AF4
ΔE00 6.13
Light Indigo
#6D5ACF
ΔE00 6.31
Bluish Purple
#703BE7
ΔE00 6.60
Electric Purple
#AA23FF
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A50E6 #ACE650
analogous
#5061E6 #8A50E6 #D550E6
triadic
#8A50E6 #E68A50 #50E68A
tetradic
#8A50E6 #E65061 #ACE650 #50E6D5
square
#8A50E6 #E65061 #ACE650 #50E6D5
split-complementary
#8A50E6 #E6D550 #61E650
monochromatic
#4E17A4 #671FDA #8A50E6 #AE86EE #D2BBF5
Accessibility & contrast
On white
4.80
#8A50E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#8A50E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A50E6
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A50E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A50E6 | 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)
#0073EB
Deuteranopia (green-blind)
#0070E3
Tritanopia (blue-blind)
#737394
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #8a50e6; /* rgb */ color: rgb(138, 80, 230); /* oklch */ color: oklch(57.6% 0.216 296.8);
Tailwind
colors: {
custom: {
50: '#b284ef',
500: '#8a50e6',
950: '#000000',
},
}SCSS
$custom: #8a50e6; $custom-light: #b284ef; $custom-dark: #000000;
JSON
{
"hex": "#8a50e6",
"rgb": {
"r": 138,
"g": 80,
"b": 230
},
"hsl": {
"h": 263.2,
"s": 75,
"l": 60.784
},
"oklch": {
"l": 0.57633,
"c": 0.2156,
"h": 296.8
},
"luminance": 0.16854
}Semantic roles & 50–950 ramp
primary
#8A50E6
secondary
#CFE5AC
accent
#D70E8A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85