#8A60CD#8A60CD
#8A60CD is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.3% C 0.163 H 299.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8A60CD |
|---|---|
| RGB | rgb(138, 96, 205) |
| HSL | hsl(263, 52%, 59%) |
| HSV | hsv(263, 53%, 80%) |
| CMYK | cmyk(32.7%, 53.2%, 0%, 19.6%) |
| CIE-LAB | lab(49.71, 40.01, -50.59) |
| CIE-LCH | lch(49.71, 64.50, 308.34°) |
| OKLab | oklab(58.31% 0.0794 -0.1429) |
| OKLCH | oklch(58.31% 0.163 299) |
| XYZ | xyz(25.6809, 18.1766, 59.9012) |
| Luminance | 0.1818 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.28
Purpley
#8756E4
ΔE00 4.38
Amethyst
#9B5FC0
ΔE00 4.90
Mediumpurple
#9370DB
ΔE00 5.37
Light Indigo
#6D5ACF
ΔE00 6.10
Lightish Purple
#A552E6
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A60CD #A3CD60
analogous
#606DCD #8A60CD #C160CD
triadic
#8A60CD #CD8A60 #60CD8A
tetradic
#8A60CD #CD606D #A3CD60 #60CDC1
square
#8A60CD #CD606D #A3CD60 #60CDC1
split-complementary
#8A60CD #CDC160 #6DCD60
monochromatic
#4F2B88 #6A39B6 #8A60CD #AC8FDC #CFBDEA
Accessibility & contrast
On white
4.53
#8A60CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#8A60CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A60CD
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A60CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A60CD | 1.00 | 4.53 | 4.64 | 4.64 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3676D1
Deuteranopia (green-blind)
#4275CA
Tritanopia (blue-blind)
#7C758D
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #8a60cd; /* rgb */ color: rgb(138, 96, 205); /* oklch */ color: oklch(58.3% 0.163 299.0);
Tailwind
colors: {
custom: {
50: '#af8edd',
500: '#8a60cd',
950: '#000000',
},
}SCSS
$custom: #8a60cd; $custom-light: #af8edd; $custom-dark: #000000;
JSON
{
"hex": "#8a60cd",
"rgb": {
"r": 138,
"g": 96,
"b": 205
},
"hsl": {
"h": 263.119,
"s": 52.153,
"l": 59.02
},
"oklch": {
"l": 0.58312,
"c": 0.16347,
"h": 299
},
"luminance": 0.18177
}Semantic roles & 50–950 ramp
primary
#8A60CD
secondary
#C9DAAF
accent
#DC4CA4
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83