#8960CA#8960CA
#8960CA is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.0% C 0.160 H 299.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8960CA |
|---|---|
| RGB | rgb(137, 96, 202) |
| HSL | hsl(263, 50%, 58%) |
| HSV | hsv(263, 52%, 79%) |
| CMYK | cmyk(32.2%, 52.5%, 0%, 20.8%) |
| CIE-LAB | lab(49.43, 38.99, -49.31) |
| CIE-LCH | lch(49.43, 62.87, 308.33°) |
| OKLab | oklab(58.03% 0.0779 -0.1392) |
| OKLCH | oklch(58.03% 0.16 299.2) |
| XYZ | xyz(25.1575, 17.9482, 58.0046) |
| Luminance | 0.1795 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.88
Purpley
#8756E4
ΔE00 4.74
Amethyst
#9B5FC0
ΔE00 4.78
Mediumpurple
#9370DB
ΔE00 5.63
Light Indigo
#6D5ACF
ΔE00 6.06
Deep Lilac
#966EBD
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8960CA #A1CA60
analogous
#606CCA #8960CA #BE60CA
triadic
#8960CA #CA8960 #60CA89
tetradic
#8960CA #CA606C #A1CA60 #60CABE
square
#8960CA #CA606C #A1CA60 #60CABE
split-complementary
#8960CA #CABE60 #6CCA60
monochromatic
#4E2C84 #693BB2 #8960CA #AB8ED9 #CDBCE9
Accessibility & contrast
On white
4.58
#8960CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#8960CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8960CA
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8960CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8960CA | 1.00 | 4.58 | 4.59 | 4.59 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3875CE
Deuteranopia (green-blind)
#4475C7
Tritanopia (blue-blind)
#7B758C
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #8960ca; /* rgb */ color: rgb(137, 96, 202); /* oklch */ color: oklch(58.0% 0.160 299.2);
Tailwind
colors: {
custom: {
50: '#af8edb',
500: '#8960ca',
950: '#000000',
},
}SCSS
$custom: #8960ca; $custom-light: #af8edb; $custom-dark: #000000;
JSON
{
"hex": "#8960ca",
"rgb": {
"r": 137,
"g": 96,
"b": 202
},
"hsl": {
"h": 263.208,
"s": 50,
"l": 58.431
},
"oklch": {
"l": 0.58028,
"c": 0.15953,
"h": 299.2
},
"luminance": 0.17948
}Semantic roles & 50–950 ramp
primary
#8960CA
secondary
#C8D8AE
accent
#DA4EA4
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83