#8A60BB#8A60BB
#8A60BB is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.2% C 0.141 H 303.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #8A60BB |
|---|---|
| RGB | rgb(138, 96, 187) |
| HSL | hsl(268, 40%, 55%) |
| HSV | hsv(268, 49%, 73%) |
| CMYK | cmyk(26.2%, 48.7%, 0%, 26.7%) |
| CIE-LAB | lab(48.71, 35.50, -41.82) |
| CIE-LCH | lch(48.71, 54.85, 310.33°) |
| OKLab | oklab(57.24% 0.0778 -0.1173) |
| OKLCH | oklch(57.24% 0.141 303.6) |
| XYZ | xyz(23.6318, 17.3569, 49.1093) |
| Luminance | 0.1736 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.31
Amethyst
#9B5FC0
ΔE00 3.62
Deep Lilac
#966EBD
ΔE00 5.15
Royal Purple
#7851A9
ΔE00 6.06
Mediumpurple
#9370DB
ΔE00 7.16
Purpley
#8756E4
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A60BB #91BB60
analogous
#6063BB #8A60BB #B760BB
triadic
#8A60BB #BB8A60 #60BB8A
tetradic
#8A60BB #BB6063 #91BB60 #60BBB7
square
#8A60BB #BB6063 #91BB60 #60BBB7
split-complementary
#8A60BB #BBB760 #63BB60
monochromatic
#4E3070 #6B429B #8A60BB #AA8BCD #C9B6E0
Accessibility & contrast
On white
4.70
#8A60BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#8A60BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A60BB
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A60BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A60BB | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4573BE
Deuteranopia (green-blind)
#5074B9
Tritanopia (blue-blind)
#817085
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #8a60bb; /* rgb */ color: rgb(138, 96, 187); /* oklch */ color: oklch(57.2% 0.141 303.6);
Tailwind
colors: {
custom: {
50: '#ae8ed0',
500: '#8a60bb',
950: '#000000',
},
}SCSS
$custom: #8a60bb; $custom-light: #ae8ed0; $custom-dark: #000000;
JSON
{
"hex": "#8a60bb",
"rgb": {
"r": 138,
"g": 96,
"b": 187
},
"hsl": {
"h": 267.692,
"s": 40.088,
"l": 55.49
},
"oklch": {
"l": 0.57242,
"c": 0.14075,
"h": 303.6
},
"luminance": 0.17357
}Semantic roles & 50–950 ramp
primary
#8A60BB
secondary
#BDCEA8
accent
#D05899
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#110C14
muted
#807D82