#8960CD#8960CD
#8960CD is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.2% C 0.163 H 298.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #8960CD |
|---|---|
| RGB | rgb(137, 96, 205) |
| HSL | hsl(263, 52%, 59%) |
| HSV | hsv(263, 53%, 80%) |
| CMYK | cmyk(33.2%, 53.2%, 0%, 19.6%) |
| CIE-LAB | lab(49.61, 39.76, -50.76) |
| CIE-LCH | lch(49.61, 64.48, 308.07°) |
| OKLab | oklab(58.21% 0.0781 -0.1434) |
| OKLCH | oklch(58.21% 0.163 298.6) |
| XYZ | xyz(25.5162, 18.0916, 59.8935) |
| Luminance | 0.1809 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.32
Deep Lavender
#8D5EB7
ΔE00 4.37
Amethyst
#9B5FC0
ΔE00 5.08
Mediumpurple
#9370DB
ΔE00 5.43
Light Indigo
#6D5ACF
ΔE00 5.89
Lightish Purple
#A552E6
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8960CD #A4CD60
analogous
#606ECD #8960CD #C060CD
triadic
#8960CD #CD8960 #60CD89
tetradic
#8960CD #CD606E #A4CD60 #60CDC0
square
#8960CD #CD606E #A4CD60 #60CDC0
split-complementary
#8960CD #CDC060 #6ECD60
monochromatic
#4E2B88 #6839B6 #8960CD #AC8FDC #CEBDEA
Accessibility & contrast
On white
4.55
#8960CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#8960CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8960CD
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8960CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8960CD | 1.00 | 4.55 | 4.62 | 4.62 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3576D1
Deuteranopia (green-blind)
#4175CA
Tritanopia (blue-blind)
#7A758D
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #8960cd; /* rgb */ color: rgb(137, 96, 205); /* oklch */ color: oklch(58.2% 0.163 298.6);
Tailwind
colors: {
custom: {
50: '#af8edd',
500: '#8960cd',
950: '#000000',
},
}SCSS
$custom: #8960cd; $custom-light: #af8edd; $custom-dark: #000000;
JSON
{
"hex": "#8960cd",
"rgb": {
"r": 137,
"g": 96,
"b": 205
},
"hsl": {
"h": 262.569,
"s": 52.153,
"l": 59.02
},
"oklch": {
"l": 0.58213,
"c": 0.16332,
"h": 298.6
},
"luminance": 0.18092
}Semantic roles & 50–950 ramp
primary
#8960CD
secondary
#CADAAF
accent
#DC4CA6
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83