#8A4BC4#8A4BC4
#8A4BC4 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.6% C 0.184 H 305.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4BC4 |
|---|---|
| RGB | rgb(138, 75, 196) |
| HSL | hsl(271, 51%, 53%) |
| HSV | hsv(271, 62%, 77%) |
| CMYK | cmyk(29.6%, 61.7%, 0%, 23.1%) |
| CIE-LAB | lab(44.83, 49.19, -53.22) |
| CIE-LCH | lch(44.83, 72.47, 312.75°) |
| OKLab | oklab(54.56% 0.1056 -0.1506) |
| OKLCH | oklch(54.56% 0.184 305) |
| XYZ | xyz(22.9589, 14.4211, 53.7879) |
| Luminance | 0.1442 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.72
Purply
#983FB2
ΔE00 5.14
Royal Purple
#7851A9
ΔE00 5.40
Deep Lavender
#8D5EB7
ΔE00 5.85
Purpley
#8756E4
ΔE00 5.91
Blueviolet
#8A2BE2
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4BC4 #85C44B
analogous
#4D4BC4 #8A4BC4 #C44BC1
triadic
#8A4BC4 #C48A4B #4BC48A
tetradic
#8A4BC4 #C44D4B #85C44B #4BC1C4
square
#8A4BC4 #C44D4B #85C44B #4BC1C4
split-complementary
#8A4BC4 #C1C44B #4BC44D
monochromatic
#4C2570 #6B349E #8A4BC4 #A879D3 #C6A7E2
Accessibility & contrast
On white
5.41
#8A4BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#8A4BC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4BC4
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4BC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4BC4 | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068C8
Deuteranopia (green-blind)
#2F6AC1
Tritanopia (blue-blind)
#806480
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8a4bc4; /* rgb */ color: rgb(138, 75, 196); /* oklch */ color: oklch(54.6% 0.184 305.0);
Tailwind
colors: {
custom: {
50: '#b081d6',
500: '#8a4bc4',
950: '#000000',
},
}SCSS
$custom: #8a4bc4; $custom-light: #b081d6; $custom-dark: #000000;
JSON
{
"hex": "#8a4bc4",
"rgb": {
"r": 138,
"g": 75,
"b": 196
},
"hsl": {
"h": 271.24,
"s": 50.628,
"l": 53.137
},
"oklch": {
"l": 0.54558,
"c": 0.18395,
"h": 305
},
"luminance": 0.14421
}Semantic roles & 50–950 ramp
primary
#8A4BC4
secondary
#B4CF9B
accent
#DA4E91
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83