#8A62CF#8A62CF
#8A62CF is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.8% C 0.163 H 298.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #8A62CF |
|---|---|
| RGB | rgb(138, 98, 207) |
| HSL | hsl(262, 53%, 60%) |
| HSV | hsv(262, 53%, 81%) |
| CMYK | cmyk(33.3%, 52.7%, 0%, 18.8%) |
| CIE-LAB | lab(50.27, 39.39, -50.84) |
| CIE-LCH | lch(50.27, 64.31, 307.77°) |
| OKLab | oklab(58.76% 0.0769 -0.1436) |
| OKLCH | oklch(58.76% 0.163 298.2) |
| XYZ | xyz(26.1086, 18.6433, 61.2424) |
| Luminance | 0.1864 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.49
Deep Lavender
#8D5EB7
ΔE00 4.71
Mediumpurple
#9370DB
ΔE00 4.74
Amethyst
#9B5FC0
ΔE00 5.17
Light Indigo
#6D5ACF
ΔE00 6.22
Mediumslateblue
#7B68EE
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A62CF #A7CF62
analogous
#6271CF #8A62CF #C062CF
triadic
#8A62CF #CF8A62 #62CF8A
tetradic
#8A62CF #CF6271 #A7CF62 #62CFC0
square
#8A62CF #CF6271 #A7CF62 #62CFC0
split-complementary
#8A62CF #CFC062 #71CF62
monochromatic
#4E2B8C #6939BB #8A62CF #AD91DD #D0C0EC
Accessibility & contrast
On white
4.44
#8A62CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#8A62CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A62CF
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A62CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A62CF | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3878D3
Deuteranopia (green-blind)
#4377CC
Tritanopia (blue-blind)
#7B778F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #8a62cf; /* rgb */ color: rgb(138, 98, 207); /* oklch */ color: oklch(58.8% 0.163 298.2);
Tailwind
colors: {
custom: {
50: '#b090de',
500: '#8a62cf',
950: '#000000',
},
}SCSS
$custom: #8a62cf; $custom-light: #b090de; $custom-dark: #000000;
JSON
{
"hex": "#8a62cf",
"rgb": {
"r": 138,
"g": 98,
"b": 207
},
"hsl": {
"h": 262.018,
"s": 53.171,
"l": 59.804
},
"oklch": {
"l": 0.58763,
"c": 0.16294,
"h": 298.2
},
"luminance": 0.18644
}Semantic roles & 50–950 ramp
primary
#8A62CF
secondary
#CCDBB1
accent
#DD4BA7
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83