#8A60BF#8A60BF
#8A60BF is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.5% C 0.146 H 302.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #8A60BF |
|---|---|
| RGB | rgb(138, 96, 191) |
| HSL | hsl(267, 43%, 56%) |
| HSV | hsv(267, 50%, 75%) |
| CMYK | cmyk(27.7%, 49.7%, 0%, 25.1%) |
| CIE-LAB | lab(48.92, 36.48, -43.79) |
| CIE-LCH | lch(48.92, 57.00, 309.80°) |
| OKLab | oklab(57.47% 0.0783 -0.123) |
| OKLCH | oklch(57.47% 0.146 302.5) |
| XYZ | xyz(24.0660, 17.5306, 51.3960) |
| Luminance | 0.1753 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.93
Amethyst
#9B5FC0
ΔE00 3.73
Deep Lilac
#966EBD
ΔE00 5.33
Royal Purple
#7851A9
ΔE00 6.32
Purpley
#8756E4
ΔE00 6.55
Mediumpurple
#9370DB
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A60BF #95BF60
analogous
#6066BF #8A60BF #BA60BF
triadic
#8A60BF #BF8A60 #60BF8A
tetradic
#8A60BF #BF6066 #95BF60 #60BFBA
square
#8A60BF #BF6066 #95BF60 #60BFBA
split-complementary
#8A60BF #BFBA60 #66BF60
monochromatic
#4E2F75 #6B41A1 #8A60BF #AA8CD1 #CAB7E2
Accessibility & contrast
On white
4.66
#8A60BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#8A60BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #8A60BF
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A60BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A60BF | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4273C2
Deuteranopia (green-blind)
#4E74BD
Tritanopia (blue-blind)
#807187
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #8a60bf; /* rgb */ color: rgb(138, 96, 191); /* oklch */ color: oklch(57.5% 0.146 302.5);
Tailwind
colors: {
custom: {
50: '#af8ed3',
500: '#8a60bf',
950: '#000000',
},
}SCSS
$custom: #8a60bf; $custom-light: #af8ed3; $custom-dark: #000000;
JSON
{
"hex": "#8a60bf",
"rgb": {
"r": 138,
"g": 96,
"b": 191
},
"hsl": {
"h": 266.526,
"s": 42.601,
"l": 56.275
},
"oklch": {
"l": 0.57472,
"c": 0.14581,
"h": 302.5
},
"luminance": 0.17531
}Semantic roles & 50–950 ramp
primary
#8A60BF
secondary
#C0D1AA
accent
#D2559B
background
#FAF8FD
surface
#F5F0FA
border
#CFCBD3
text
#110C14
muted
#807D83