#8A4AEF#8A4AEF
#8A4AEF is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.5% C 0.233 H 296.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4AEF |
|---|---|
| RGB | rgb(138, 74, 239) |
| HSL | hsl(263, 84%, 61%) |
| HSV | hsv(263, 69%, 94%) |
| CMYK | cmyk(42.3%, 69%, 0%, 6.3%) |
| CIE-LAB | lab(47.67, 60.27, -73.18) |
| CIE-LCH | lch(47.67, 94.80, 309.47°) |
| OKLab | oklab(57.55% 0.102 -0.2092) |
| OKLCH | oklch(57.55% 0.233 296) |
| XYZ | xyz(28.5059, 16.5322, 83.3338) |
| Luminance | 0.1653 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.77
Lightish Purple
#A552E6
ΔE00 5.70
Electric Purple
#AA23FF
ΔE00 5.81
Bluish Purple
#703BE7
ΔE00 5.83
Blueviolet
#8A2BE2
ΔE00 6.04
Lighter Purple
#A55AF4
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4AEF #AFEF4A
analogous
#4A5DEF #8A4AEF #DD4AEF
triadic
#8A4AEF #EF8A4A #4AEF8A
tetradic
#8A4AEF #EF4A5D #AFEF4A #4AEFDD
square
#8A4AEF #EF4A5D #AFEF4A #4AEFDD
split-complementary
#8A4AEF #EFDD4A #5DEF4A
monochromatic
#4D0FAF #6614E7 #8A4AEF #AE82F4 #D3BAF9
Accessibility & contrast
On white
4.88
#8A4AEF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#8A4AEF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4AEF
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4AEF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4AEF | 1.00 | 4.88 | 4.31 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072F4
Deuteranopia (green-blind)
#006FEC
Tritanopia (blue-blind)
#6F7397
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #8a4aef; /* rgb */ color: rgb(138, 74, 239); /* oklch */ color: oklch(57.5% 0.233 296.0);
Tailwind
colors: {
custom: {
50: '#b481f5',
500: '#8a4aef',
950: '#000000',
},
}SCSS
$custom: #8a4aef; $custom-light: #b481f5; $custom-dark: #000000;
JSON
{
"hex": "#8a4aef",
"rgb": {
"r": 138,
"g": 74,
"b": 239
},
"hsl": {
"h": 263.273,
"s": 83.756,
"l": 61.373
},
"oklch": {
"l": 0.57547,
"c": 0.23277,
"h": 296
},
"luminance": 0.16533
}Semantic roles & 50–950 ramp
primary
#8A4AEF
secondary
#D1E9AC
accent
#E0058B
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#120B17
muted
#817C85