#8A4CE3#8A4CE3
#8A4CE3 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.9% C 0.217 H 297.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4CE3 |
|---|---|
| RGB | rgb(138, 76, 227) |
| HSL | hsl(265, 73%, 59%) |
| HSV | hsv(265, 67%, 89%) |
| CMYK | cmyk(39.2%, 66.5%, 0%, 11%) |
| CIE-LAB | lab(47.13, 56.28, -67.28) |
| CIE-LCH | lch(47.13, 87.71, 309.92°) |
| OKLab | oklab(56.89% 0.1018 -0.1919) |
| OKLCH | oklch(56.89% 0.217 297.9) |
| XYZ | xyz(26.9273, 16.1178, 74.3505) |
| Luminance | 0.1612 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.39
Lightish Purple
#A552E6
ΔE00 5.46
Blueviolet
#8A2BE2
ΔE00 5.83
Bluish Purple
#703BE7
ΔE00 5.88
Electric Purple
#AA23FF
ΔE00 6.41
Light Indigo
#6D5ACF
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4CE3 #A5E34C
analogous
#4C5AE3 #8A4CE3 #D64CE3
triadic
#8A4CE3 #E38A4C #4CE38A
tetradic
#8A4CE3 #E34C5A #A5E34C #4CE3D6
square
#8A4CE3 #E34C5A #A5E34C #4CE3D6
split-complementary
#8A4CE3 #E3D64C #5AE34C
monochromatic
#4F189C #6921D1 #8A4CE3 #AD81EB #CFB6F4
Accessibility & contrast
On white
4.97
#8A4CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#8A4CE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4CE3
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4CE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4CE3 | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E8
Deuteranopia (green-blind)
#006EE0
Tritanopia (blue-blind)
#747091
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8a4ce3; /* rgb */ color: rgb(138, 76, 227); /* oklch */ color: oklch(56.9% 0.217 297.9);
Tailwind
colors: {
custom: {
50: '#b282ed',
500: '#8a4ce3',
950: '#000000',
},
}SCSS
$custom: #8a4ce3; $custom-light: #b282ed; $custom-dark: #000000;
JSON
{
"hex": "#8a4ce3",
"rgb": {
"r": 138,
"g": 76,
"b": 227
},
"hsl": {
"h": 264.636,
"s": 72.947,
"l": 59.412
},
"oklch": {
"l": 0.56886,
"c": 0.21724,
"h": 297.9
},
"luminance": 0.16118
}Semantic roles & 50–950 ramp
primary
#8A4CE3
secondary
#CBE3A8
accent
#F038A4
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84