#8B4EAC#8B4EAC
#8B4EAC is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.6% C 0.153 H 312.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #8B4EAC |
|---|---|
| RGB | rgb(139, 78, 172) |
| HSL | hsl(279, 38%, 49%) |
| HSV | hsv(279, 55%, 67%) |
| CMYK | cmyk(19.2%, 54.7%, 0%, 32.5%) |
| CIE-LAB | lab(44.11, 42.28, -40.32) |
| CIE-LCH | lch(44.11, 58.43, 316.36°) |
| OKLab | oklab(53.6% 0.1027 -0.1128) |
| OKLCH | oklch(53.6% 0.153 312.3) |
| XYZ | xyz(20.8169, 13.9168, 40.6113) |
| Luminance | 0.1392 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.86
Royal Purple
#7851A9
ΔE00 4.17
Deep Lavender
#8D5EB7
ΔE00 4.81
Medium Purple
#9E43A2
ΔE00 5.28
Amethyst
#9B5FC0
ΔE00 6.43
Ugly Purple
#A442A0
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B4EAC #6FAC4E
analogous
#5C4EAC #8B4EAC #AC4E9E
triadic
#8B4EAC #AC8B4E #4EAC8B
tetradic
#8B4EAC #AC5C4E #6FAC4E #4E9EAC
square
#8B4EAC #AC5C4E #6FAC4E #4E9EAC
split-complementary
#8B4EAC #9EAC4E #4EAC5C
monochromatic
#472858 #693B82 #8B4EAC #A776C1 #C2A0D4
Accessibility & contrast
On white
5.55
#8B4EAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#8B4EAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B4EAC
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B4EAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B4EAC | 1.00 | 5.55 | 3.78 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3565AF
Deuteranopia (green-blind)
#496AAA
Tritanopia (blue-blind)
#885E75
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8b4eac; /* rgb */ color: rgb(139, 78, 172); /* oklch */ color: oklch(53.6% 0.153 312.3);
Tailwind
colors: {
custom: {
50: '#af82c5',
500: '#8b4eac',
950: '#000000',
},
}SCSS
$custom: #8b4eac; $custom-light: #af82c5; $custom-dark: #000000;
JSON
{
"hex": "#8b4eac",
"rgb": {
"r": 139,
"g": 78,
"b": 172
},
"hsl": {
"h": 278.936,
"s": 37.6,
"l": 49.02
},
"oklch": {
"l": 0.536,
"c": 0.15255,
"h": 312.3
},
"luminance": 0.13916
}Semantic roles & 50–950 ramp
primary
#8B4EAC
secondary
#A4C195
accent
#CE5A83
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82