#8A54B3#8A54B3
#8A54B3 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.8% C 0.151 H 308.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #8A54B3 |
|---|---|
| RGB | rgb(138, 84, 179) |
| HSL | hsl(274, 38%, 52%) |
| HSV | hsv(274, 53%, 70%) |
| CMYK | cmyk(22.9%, 53.1%, 0%, 29.8%) |
| CIE-LAB | lab(45.63, 40.34, -42.03) |
| CIE-LCH | lch(45.63, 58.26, 313.82°) |
| OKLab | oklab(54.82% 0.0937 -0.1179) |
| OKLCH | oklch(54.82% 0.151 308.5) |
| XYZ | xyz(21.7866, 14.9989, 44.3864) |
| Luminance | 0.1500 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.00
Royal Purple
#7851A9
ΔE00 3.93
Amethyst
#9B5FC0
ΔE00 5.03
Purply
#983FB2
ΔE00 5.31
Medium Purple
#9E43A2
ΔE00 6.90
Darkorchid
#9932CC
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A54B3 #7DB354
analogous
#5B54B3 #8A54B3 #B354AD
triadic
#8A54B3 #B38A54 #54B38A
tetradic
#8A54B3 #B35B54 #7DB354 #54ADB3
square
#8A54B3 #B35B54 #7DB354 #54ADB3
split-complementary
#8A54B3 #ADB354 #54B35B
monochromatic
#4A2B61 #6A3E8C #8A54B3 #A77EC6 #C4A9D9
Accessibility & contrast
On white
5.25
#8A54B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#8A54B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A54B3
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A54B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A54B3 | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#386AB6
Deuteranopia (green-blind)
#496DB1
Tritanopia (blue-blind)
#84657B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8a54b3; /* rgb */ color: rgb(138, 84, 179); /* oklch */ color: oklch(54.8% 0.151 308.5);
Tailwind
colors: {
custom: {
50: '#ae86ca',
500: '#8a54b3',
950: '#000000',
},
}SCSS
$custom: #8a54b3; $custom-light: #ae86ca; $custom-dark: #000000;
JSON
{
"hex": "#8a54b3",
"rgb": {
"r": 138,
"g": 84,
"b": 179
},
"hsl": {
"h": 274.105,
"s": 38.462,
"l": 51.569
},
"oklch": {
"l": 0.54819,
"c": 0.15056,
"h": 308.5
},
"luminance": 0.14999
}Semantic roles & 50–950 ramp
primary
#8A54B3
secondary
#AFC69D
accent
#CE598C
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#110B13
muted
#807C82