#8A55BF#8A55BF
#8A55BF is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.7% C 0.163 H 304.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #8A55BF |
|---|---|
| RGB | rgb(138, 85, 191) |
| HSL | hsl(270, 45%, 54%) |
| HSV | hsv(270, 55%, 75%) |
| CMYK | cmyk(27.7%, 55.5%, 0%, 25.1%) |
| CIE-LAB | lab(46.53, 42.65, -47.60) |
| CIE-LCH | lch(46.53, 63.92, 311.86°) |
| OKLab | oklab(55.7% 0.093 -0.1341) |
| OKLCH | oklch(55.7% 0.163 304.7) |
| XYZ | xyz(23.1317, 15.6620, 51.0846) |
| Luminance | 0.1566 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.27
Royal Purple
#7851A9
ΔE00 4.80
Amethyst
#9B5FC0
ΔE00 4.83
Purpley
#8756E4
ΔE00 5.97
Purply
#983FB2
ΔE00 6.20
Darkorchid
#9932CC
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A55BF #8ABF55
analogous
#5555BF #8A55BF #BF55BF
triadic
#8A55BF #BF8A55 #55BF8A
tetradic
#8A55BF #BF5555 #8ABF55 #55BFBF
square
#8A55BF #BF5555 #8ABF55 #55BFBF
split-complementary
#8A55BF #BFBF55 #55BF55
monochromatic
#4D2A70 #6B3B9C #8A55BF #A981D0 #C7AEE0
Accessibility & contrast
On white
5.08
#8A55BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#8A55BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A55BF
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A55BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A55BF | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E6DC3
Deuteranopia (green-blind)
#416EBC
Tritanopia (blue-blind)
#816982
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8a55bf; /* rgb */ color: rgb(138, 85, 191); /* oklch */ color: oklch(55.7% 0.163 304.7);
Tailwind
colors: {
custom: {
50: '#af87d3',
500: '#8a55bf',
950: '#000000',
},
}SCSS
$custom: #8a55bf; $custom-light: #af87d3; $custom-dark: #000000;
JSON
{
"hex": "#8a55bf",
"rgb": {
"r": 138,
"g": 85,
"b": 191
},
"hsl": {
"h": 270,
"s": 45.299,
"l": 54.118
},
"oklch": {
"l": 0.557,
"c": 0.16326,
"h": 304.7
},
"luminance": 0.15662
}Semantic roles & 50–950 ramp
primary
#8A55BF
secondary
#B8CEA1
accent
#D55394
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110B14
muted
#807C83