#8962CA#8962CA
#8962CA is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.4% C 0.156 H 298.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #8962CA |
|---|---|
| RGB | rgb(137, 98, 202) |
| HSL | hsl(263, 50%, 59%) |
| HSV | hsv(263, 51%, 79%) |
| CMYK | cmyk(32.2%, 51.5%, 0%, 20.8%) |
| CIE-LAB | lab(49.88, 37.85, -48.60) |
| CIE-LCH | lch(49.88, 61.60, 307.91°) |
| OKLab | oklab(58.36% 0.0753 -0.1371) |
| OKLCH | oklch(58.36% 0.156 298.8) |
| XYZ | xyz(25.3423, 18.3178, 58.0662) |
| Luminance | 0.1832 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.01
Amethyst
#9B5FC0
ΔE00 4.84
Purpley
#8756E4
ΔE00 5.08
Mediumpurple
#9370DB
ΔE00 5.14
Deep Lilac
#966EBD
ΔE00 5.92
Light Indigo
#6D5ACF
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8962CA #A3CA62
analogous
#626FCA #8962CA #BD62CA
triadic
#8962CA #CA8962 #62CA89
tetradic
#8962CA #CA626F #A3CA62 #62CABD
square
#8962CA #CA626F #A3CA62 #62CABD
split-complementary
#8962CA #CABD62 #6FCA62
monochromatic
#4E2D85 #693CB3 #8962CA #AB90D9 #CEBEE9
Accessibility & contrast
On white
4.50
#8962CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#8962CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8962CA
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8962CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8962CA | 1.00 | 4.50 | 4.66 | 4.66 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C77CE
Deuteranopia (green-blind)
#4776C8
Tritanopia (blue-blind)
#7B768D
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #8962ca; /* rgb */ color: rgb(137, 98, 202); /* oklch */ color: oklch(58.4% 0.156 298.8);
Tailwind
colors: {
custom: {
50: '#ae90db',
500: '#8962ca',
950: '#000000',
},
}SCSS
$custom: #8962ca; $custom-light: #ae90db; $custom-dark: #000000;
JSON
{
"hex": "#8962ca",
"rgb": {
"r": 137,
"g": 98,
"b": 202
},
"hsl": {
"h": 262.5,
"s": 49.524,
"l": 58.824
},
"oklch": {
"l": 0.58359,
"c": 0.15644,
"h": 298.8
},
"luminance": 0.18318
}Semantic roles & 50–950 ramp
primary
#8962CA
secondary
#C9D8AF
accent
#D94FA5
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83