#8A62BE#8A62BE
#8A62BE is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.8% C 0.141 H 302.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8A62BE |
|---|---|
| RGB | rgb(138, 98, 190) |
| HSL | hsl(266, 41%, 56%) |
| HSV | hsv(266, 48%, 75%) |
| CMYK | cmyk(27.4%, 48.4%, 0%, 25.5%) |
| CIE-LAB | lab(49.32, 35.09, -42.58) |
| CIE-LCH | lch(49.32, 55.17, 309.49°) |
| OKLab | oklab(57.75% 0.0754 -0.1195) |
| OKLCH | oklch(57.75% 0.141 302.3) |
| XYZ | xyz(24.1411, 17.8563, 50.8800) |
| Luminance | 0.1786 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.03
Amethyst
#9B5FC0
ΔE00 3.77
Deep Lilac
#966EBD
ΔE00 4.77
Mediumpurple
#9370DB
ΔE00 6.37
Royal Purple
#7851A9
ΔE00 6.68
Purpley
#8756E4
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A62BE #96BE62
analogous
#6268BE #8A62BE #B862BE
triadic
#8A62BE #BE8A62 #62BE8A
tetradic
#8A62BE #BE6268 #96BE62 #62BEB8
square
#8A62BE #BE6268 #96BE62 #62BEB8
split-complementary
#8A62BE #BEB862 #68BE62
monochromatic
#4E3075 #6B42A0 #8A62BE #AA8DD0 #CBB9E2
Accessibility & contrast
On white
4.59
#8A62BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#8A62BE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #8A62BE
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A62BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A62BE | 1.00 | 4.59 | 4.57 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4674C1
Deuteranopia (green-blind)
#5075BC
Tritanopia (blue-blind)
#807287
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #8a62be; /* rgb */ color: rgb(138, 98, 190); /* oklch */ color: oklch(57.8% 0.141 302.3);
Tailwind
colors: {
custom: {
50: '#ae8fd2',
500: '#8a62be',
950: '#000000',
},
}SCSS
$custom: #8a62be; $custom-light: #ae8fd2; $custom-dark: #000000;
JSON
{
"hex": "#8a62be",
"rgb": {
"r": 138,
"g": 98,
"b": 190
},
"hsl": {
"h": 266.087,
"s": 41.441,
"l": 56.471
},
"oklch": {
"l": 0.57753,
"c": 0.1413,
"h": 302.3
},
"luminance": 0.17856
}Semantic roles & 50–950 ramp
primary
#8A62BE
secondary
#C0D1AB
accent
#D1579C
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#110C14
muted
#807D82