#8960CF#8960CF
#8960CF is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.3% C 0.166 H 298.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8960CF |
|---|---|
| RGB | rgb(137, 96, 207) |
| HSL | hsl(262, 54%, 59%) |
| HSV | hsv(262, 54%, 81%) |
| CMYK | cmyk(33.8%, 53.6%, 0%, 18.8%) |
| CIE-LAB | lab(49.72, 40.27, -51.71) |
| CIE-LCH | lch(49.72, 65.55, 307.91°) |
| OKLab | oklab(58.34% 0.0782 -0.1462) |
| OKLCH | oklch(58.34% 0.166 298.1) |
| XYZ | xyz(25.7591, 18.1888, 61.1731) |
| Luminance | 0.1819 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.06
Deep Lavender
#8D5EB7
ΔE00 4.69
Amethyst
#9B5FC0
ΔE00 5.30
Mediumpurple
#9370DB
ΔE00 5.32
Light Indigo
#6D5ACF
ΔE00 5.81
Lightish Purple
#A552E6
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8960CF #A6CF60
analogous
#606FCF #8960CF #C060CF
triadic
#8960CF #CF8960 #60CF89
tetradic
#8960CF #CF606F #A6CF60 #60CFC0
square
#8960CF #CF606F #A6CF60 #60CFC0
split-complementary
#8960CF #CFC060 #6FCF60
monochromatic
#4E2A8B #6838BA #8960CF #AC8FDD #CFBEEB
Accessibility & contrast
On white
4.53
#8960CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#8960CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8960CF
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8960CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8960CF | 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)
#3376D3
Deuteranopia (green-blind)
#3F75CC
Tritanopia (blue-blind)
#7A768E
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #8960cf; /* rgb */ color: rgb(137, 96, 207); /* oklch */ color: oklch(58.3% 0.166 298.1);
Tailwind
colors: {
custom: {
50: '#af8ede',
500: '#8960cf',
950: '#000000',
},
}SCSS
$custom: #8960cf; $custom-light: #af8ede; $custom-dark: #000000;
JSON
{
"hex": "#8960cf",
"rgb": {
"r": 137,
"g": 96,
"b": 207
},
"hsl": {
"h": 262.162,
"s": 53.623,
"l": 59.412
},
"oklch": {
"l": 0.58337,
"c": 0.16584,
"h": 298.1
},
"luminance": 0.18189
}Semantic roles & 50–950 ramp
primary
#8960CF
secondary
#CBDBB0
accent
#DD4BA7
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83