#8162CF#8162CF
#8162CF is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.9% C 0.162 H 293.8°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).
Color values
| HEX | #8162CF |
|---|---|
| RGB | rgb(129, 98, 207) |
| HSL | hsl(257, 53%, 60%) |
| HSV | hsv(257, 53%, 81%) |
| CMYK | cmyk(37.7%, 52.7%, 0%, 18.8%) |
| CIE-LAB | lab(49.38, 37.17, -52.30) |
| CIE-LCH | lch(49.38, 64.16, 305.40°) |
| OKLab | oklab(57.9% 0.0655 -0.1482) |
| OKLCH | oklch(57.9% 0.162 293.8) |
| XYZ | xyz(24.6805, 17.9069, 61.1754) |
| Luminance | 0.1791 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.37
Light Indigo
#6D5ACF
ΔE00 4.52
Slate Blue
#6A5ACD
ΔE00 4.99
Mediumslateblue
#7B68EE
ΔE00 5.33
Dark Periwinkle
#665FD1
ΔE00 5.39
Mediumpurple
#9370DB
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8162CF #B0CF62
analogous
#627ACF #8162CF #B762CF
triadic
#8162CF #CF8162 #62CF81
tetradic
#8162CF #CF627A #B0CF62 #62CFB7
square
#8162CF #CF627A #B0CF62 #62CFB7
split-complementary
#8162CF #CFB762 #7ACF62
monochromatic
#462B8C #5E39BB #8162CF #A791DD #CCC0EC
Accessibility & contrast
On white
4.58
#8162CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#8162CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8162CF
4.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8162CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8162CF | 1.00 | 4.58 | 4.58 | 4.58 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3477D3
Deuteranopia (green-blind)
#3B74CD
Tritanopia (blue-blind)
#6E788F
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #8162cf; /* rgb */ color: rgb(129, 98, 207); /* oklch */ color: oklch(57.9% 0.162 293.8);
Tailwind
colors: {
custom: {
50: '#aa8fde',
500: '#8162cf',
950: '#000000',
},
}SCSS
$custom: #8162cf; $custom-light: #aa8fde; $custom-dark: #000000;
JSON
{
"hex": "#8162cf",
"rgb": {
"r": 129,
"g": 98,
"b": 207
},
"hsl": {
"h": 257.064,
"s": 53.171,
"l": 59.804
},
"oklch": {
"l": 0.57899,
"c": 0.16203,
"h": 293.8
},
"luminance": 0.17907
}Semantic roles & 50–950 ramp
primary
#8162CF
secondary
#CFDBB1
accent
#DD4BB3
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83