#8A5BCF#8A5BCF
#8A5BCF is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.6% C 0.173 H 299.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #8A5BCF |
|---|---|
| RGB | rgb(138, 91, 207) |
| HSL | hsl(264, 55%, 58%) |
| HSV | hsv(264, 56%, 81%) |
| CMYK | cmyk(33.3%, 56%, 0%, 18.8%) |
| CIE-LAB | lab(48.75, 43.32, -53.27) |
| CIE-LCH | lch(48.75, 68.66, 309.12°) |
| OKLab | oklab(57.64% 0.0858 -0.1508) |
| OKLCH | oklch(57.64% 0.173 299.6) |
| XYZ | xyz(25.4821, 17.3902, 61.0335) |
| Luminance | 0.1739 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.45
Deep Lavender
#8D5EB7
ΔE00 4.64
Amethyst
#9B5FC0
ΔE00 5.27
Lightish Purple
#A552E6
ΔE00 5.62
Light Indigo
#6D5ACF
ΔE00 5.75
Slate Blue
#6A5ACD
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A5BCF #A0CF5B
analogous
#5B66CF #8A5BCF #C45BCF
triadic
#8A5BCF #CF8A5B #5BCF8A
tetradic
#8A5BCF #CF5B66 #A0CF5B #5BCFC4
square
#8A5BCF #CF5B66 #A0CF5B #5BCFC4
split-complementary
#8A5BCF #CFC45B #66CF5B
monochromatic
#4F2888 #6A36B7 #8A5BCF #AC8ADD #CEBAEB
Accessibility & contrast
On white
4.69
#8A5BCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#8A5BCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A5BCF
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A5BCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A5BCF | 1.00 | 4.69 | 4.48 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2874D3
Deuteranopia (green-blind)
#3973CC
Tritanopia (blue-blind)
#7B728C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #8a5bcf; /* rgb */ color: rgb(138, 91, 207); /* oklch */ color: oklch(57.6% 0.173 299.6);
Tailwind
colors: {
custom: {
50: '#b08bde',
500: '#8a5bcf',
950: '#000000',
},
}SCSS
$custom: #8a5bcf; $custom-light: #b08bde; $custom-dark: #000000;
JSON
{
"hex": "#8a5bcf",
"rgb": {
"r": 138,
"g": 91,
"b": 207
},
"hsl": {
"h": 264.31,
"s": 54.717,
"l": 58.431
},
"oklch": {
"l": 0.57641,
"c": 0.17348,
"h": 299.6
},
"luminance": 0.1739
}Semantic roles & 50–950 ramp
primary
#8A5BCF
secondary
#C7DAAC
accent
#DE4AA2
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83