#8A62C8#8A62C8
#8A62C8 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.3% C 0.154 H 299.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #8A62C8 |
|---|---|
| RGB | rgb(138, 98, 200) |
| HSL | hsl(264, 48%, 58%) |
| HSV | hsv(264, 51%, 78%) |
| CMYK | cmyk(31%, 51%, 0%, 21.6%) |
| CIE-LAB | lab(49.87, 37.60, -47.47) |
| CIE-LCH | lch(49.87, 60.56, 308.38°) |
| OKLab | oklab(58.34% 0.0764 -0.1338) |
| OKLCH | oklch(58.34% 0.154 299.7) |
| XYZ | xyz(25.2718, 18.3086, 56.8349) |
| Luminance | 0.1831 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.58
Amethyst
#9B5FC0
ΔE00 4.44
Mediumpurple
#9370DB
ΔE00 5.26
Purpley
#8756E4
ΔE00 5.42
Deep Lilac
#966EBD
ΔE00 5.58
Light Indigo
#6D5ACF
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A62C8 #A0C862
analogous
#626DC8 #8A62C8 #BD62C8
triadic
#8A62C8 #C88A62 #62C88A
tetradic
#8A62C8 #C8626D #A0C862 #62C8BD
square
#8A62C8 #C8626D #A0C862 #62C8BD
split-complementary
#8A62C8 #C8BD62 #6DC862
monochromatic
#4F2E82 #6A3DAF #8A62C8 #AC8FD8 #CEBDE8
Accessibility & contrast
On white
4.50
#8A62C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#8A62C8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A62C8
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A62C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A62C8 | 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)
#3F76CC
Deuteranopia (green-blind)
#4976C6
Tritanopia (blue-blind)
#7D758C
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #8a62c8; /* rgb */ color: rgb(138, 98, 200); /* oklch */ color: oklch(58.3% 0.154 299.7);
Tailwind
colors: {
custom: {
50: '#af90d9',
500: '#8a62c8',
950: '#000000',
},
}SCSS
$custom: #8a62c8; $custom-light: #af90d9; $custom-dark: #000000;
JSON
{
"hex": "#8a62c8",
"rgb": {
"r": 138,
"g": 98,
"b": 200
},
"hsl": {
"h": 263.529,
"s": 48.113,
"l": 58.431
},
"oklch": {
"l": 0.58338,
"c": 0.15406,
"h": 299.7
},
"luminance": 0.18309
}Semantic roles & 50–950 ramp
primary
#8A62C8
secondary
#C7D7AF
accent
#D850A3
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83