#8A60BE#8A60BE
#8A60BE is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.4% C 0.145 H 302.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #8A60BE |
|---|---|
| RGB | rgb(138, 96, 190) |
| HSL | hsl(267, 42%, 56%) |
| HSV | hsv(267, 49%, 75%) |
| CMYK | cmyk(27.4%, 49.5%, 0%, 25.5%) |
| CIE-LAB | lab(48.87, 36.24, -43.30) |
| CIE-LCH | lch(48.87, 56.46, 309.93°) |
| OKLab | oklab(57.41% 0.0782 -0.1216) |
| OKLCH | oklch(57.41% 0.145 302.7) |
| XYZ | xyz(23.9563, 17.4867, 50.8184) |
| Luminance | 0.1749 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.76
Amethyst
#9B5FC0
ΔE00 3.69
Deep Lilac
#966EBD
ΔE00 5.28
Royal Purple
#7851A9
ΔE00 6.25
Purpley
#8756E4
ΔE00 6.72
Mediumpurple
#9370DB
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A60BE #94BE60
analogous
#6065BE #8A60BE #B960BE
triadic
#8A60BE #BE8A60 #60BE8A
tetradic
#8A60BE #BE6065 #94BE60 #60BEB9
square
#8A60BE #BE6065 #94BE60 #60BEB9
split-complementary
#8A60BE #BEB960 #65BE60
monochromatic
#4E2F74 #6B41A0 #8A60BE #AA8BD0 #CAB7E2
Accessibility & contrast
On white
4.67
#8A60BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#8A60BE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #8A60BE
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A60BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A60BE | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4373C1
Deuteranopia (green-blind)
#4E74BC
Tritanopia (blue-blind)
#817186
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #8a60be; /* rgb */ color: rgb(138, 96, 190); /* oklch */ color: oklch(57.4% 0.145 302.7);
Tailwind
colors: {
custom: {
50: '#ae8ed2',
500: '#8a60be',
950: '#000000',
},
}SCSS
$custom: #8a60be; $custom-light: #ae8ed2; $custom-dark: #000000;
JSON
{
"hex": "#8a60be",
"rgb": {
"r": 138,
"g": 96,
"b": 190
},
"hsl": {
"h": 266.809,
"s": 41.964,
"l": 56.078
},
"oklch": {
"l": 0.57414,
"c": 0.14456,
"h": 302.7
},
"luminance": 0.17487
}Semantic roles & 50–950 ramp
primary
#8A60BE
secondary
#BFD0A9
accent
#D2569A
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#110C14
muted
#807D82