#8A4BCE#8A4BCE
#8A4BCE is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.2% C 0.195 H 302.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4BCE |
|---|---|
| RGB | rgb(138, 75, 206) |
| HSL | hsl(269, 57%, 55%) |
| HSV | hsv(269, 64%, 81%) |
| CMYK | cmyk(33%, 63.6%, 0%, 19.2%) |
| CIE-LAB | lab(45.49, 51.60, -57.94) |
| CIE-LCH | lch(45.49, 77.59, 311.69°) |
| OKLab | oklab(55.24% 0.1051 -0.1645) |
| OKLCH | oklch(55.24% 0.195 302.6) |
| XYZ | xyz(24.1353, 14.8916, 59.9834) |
| Luminance | 0.1489 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.55
Darkorchid
#9932CC
ΔE00 4.87
Blueviolet
#8A2BE2
ΔE00 5.78
Purply
#983FB2
ΔE00 6.37
Lightish Purple
#A552E6
ΔE00 6.45
Royal Purple
#7851A9
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4BCE #8FCE4B
analogous
#4B4ECE #8A4BCE #CB4BCE
triadic
#8A4BCE #CE8A4B #4BCE8A
tetradic
#8A4BCE #CE4B4E #8FCE4B #4BCECB
square
#8A4BCE #CE4B4E #8FCE4B #4BCECB
split-complementary
#8A4BCE #CECB4B #4ECE4B
monochromatic
#4E227D #6C2FAD #8A4BCE #A97BDB #C9ABE8
Accessibility & contrast
On white
5.28
#8A4BCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#8A4BCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4BCE
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4BCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4BCE | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#1E6BCB
Tritanopia (blue-blind)
#7D6786
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8a4bce; /* rgb */ color: rgb(138, 75, 206); /* oklch */ color: oklch(55.2% 0.195 302.6);
Tailwind
colors: {
custom: {
50: '#b181de',
500: '#8a4bce',
950: '#000000',
},
}SCSS
$custom: #8a4bce; $custom-light: #b181de; $custom-dark: #000000;
JSON
{
"hex": "#8a4bce",
"rgb": {
"r": 138,
"g": 75,
"b": 206
},
"hsl": {
"h": 268.855,
"s": 57.205,
"l": 55.098
},
"oklch": {
"l": 0.55241,
"c": 0.19516,
"h": 302.6
},
"luminance": 0.14892
}Semantic roles & 50–950 ramp
primary
#8A4BCE
secondary
#BBD69F
accent
#E04797
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83