#8A54BF#8A54BF
#8A54BF is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.5% C 0.165 H 304.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8A54BF |
|---|---|
| RGB | rgb(138, 84, 191) |
| HSL | hsl(270, 46%, 54%) |
| HSV | hsv(270, 56%, 75%) |
| CMYK | cmyk(27.7%, 56%, 0%, 25.1%) |
| CIE-LAB | lab(46.32, 43.20, -47.93) |
| CIE-LCH | lch(46.32, 64.53, 312.03°) |
| OKLab | oklab(55.55% 0.0943 -0.1351) |
| OKLCH | oklch(55.55% 0.165 304.9) |
| XYZ | xyz(23.0535, 15.5056, 51.0585) |
| Luminance | 0.1551 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.49
Royal Purple
#7851A9
ΔE00 4.75
Amethyst
#9B5FC0
ΔE00 5.01
Purpley
#8756E4
ΔE00 5.99
Purply
#983FB2
ΔE00 6.00
Darkorchid
#9932CC
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A54BF #89BF54
analogous
#5554BF #8A54BF #BF54BF
triadic
#8A54BF #BF8A54 #54BF8A
tetradic
#8A54BF #BF5554 #89BF54 #54BFBF
square
#8A54BF #BF5554 #89BF54 #54BFBF
split-complementary
#8A54BF #BFBF54 #54BF55
monochromatic
#4D2A6F #6B3A9C #8A54BF #A881D0 #C7ADE0
Accessibility & contrast
On white
5.12
#8A54BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#8A54BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A54BF
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A54BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A54BF | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C6CC3
Deuteranopia (green-blind)
#406EBC
Tritanopia (blue-blind)
#816881
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8a54bf; /* rgb */ color: rgb(138, 84, 191); /* oklch */ color: oklch(55.5% 0.165 304.9);
Tailwind
colors: {
custom: {
50: '#af86d3',
500: '#8a54bf',
950: '#000000',
},
}SCSS
$custom: #8a54bf; $custom-light: #af86d3; $custom-dark: #000000;
JSON
{
"hex": "#8a54bf",
"rgb": {
"r": 138,
"g": 84,
"b": 191
},
"hsl": {
"h": 270.28,
"s": 45.532,
"l": 53.922
},
"oklch": {
"l": 0.55547,
"c": 0.1648,
"h": 304.9
},
"luminance": 0.15506
}Semantic roles & 50–950 ramp
primary
#8A54BF
secondary
#B7CEA1
accent
#D55393
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83