#8962CF#8962CF
#8962CF is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.7% C 0.163 H 297.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #8962CF |
|---|---|
| RGB | rgb(137, 98, 207) |
| HSL | hsl(261, 53%, 60%) |
| HSV | hsv(261, 53%, 81%) |
| CMYK | cmyk(33.8%, 52.7%, 0%, 18.8%) |
| CIE-LAB | lab(50.17, 39.14, -51.01) |
| CIE-LCH | lch(50.17, 64.29, 307.50°) |
| OKLab | oklab(58.67% 0.0756 -0.1442) |
| OKLCH | oklch(58.67% 0.163 297.7) |
| XYZ | xyz(25.9439, 18.5584, 61.2347) |
| Luminance | 0.1856 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.44
Deep Lavender
#8D5EB7
ΔE00 4.80
Mediumpurple
#9370DB
ΔE00 4.80
Amethyst
#9B5FC0
ΔE00 5.36
Light Indigo
#6D5ACF
ΔE00 6.02
Mediumslateblue
#7B68EE
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8962CF #A8CF62
analogous
#6271CF #8962CF #C062CF
triadic
#8962CF #CF8962 #62CF89
tetradic
#8962CF #CF6271 #A8CF62 #62CFC0
square
#8962CF #CF6271 #A8CF62 #62CFC0
split-complementary
#8962CF #CFC062 #71CF62
monochromatic
#4D2B8C #6739BB #8962CF #AC91DD #CFC0EC
Accessibility & contrast
On white
4.46
#8962CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#8962CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8962CF
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8962CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8962CF | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3778D3
Deuteranopia (green-blind)
#4276CC
Tritanopia (blue-blind)
#7A788F
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #8962cf; /* rgb */ color: rgb(137, 98, 207); /* oklch */ color: oklch(58.7% 0.163 297.7);
Tailwind
colors: {
custom: {
50: '#af90de',
500: '#8962cf',
950: '#000000',
},
}SCSS
$custom: #8962cf; $custom-light: #af90de; $custom-dark: #000000;
JSON
{
"hex": "#8962cf",
"rgb": {
"r": 137,
"g": 98,
"b": 207
},
"hsl": {
"h": 261.468,
"s": 53.171,
"l": 59.804
},
"oklch": {
"l": 0.58665,
"c": 0.16281,
"h": 297.7
},
"luminance": 0.18559
}Semantic roles & 50–950 ramp
primary
#8962CF
secondary
#CCDBB1
accent
#DD4BA9
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83