#8A62BF#8A62BF
#8A62BF is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.8% C 0.143 H 302.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8A62BF |
|---|---|
| RGB | rgb(138, 98, 191) |
| HSL | hsl(266, 42%, 57%) |
| HSV | hsv(266, 49%, 75%) |
| CMYK | cmyk(27.7%, 48.7%, 0%, 25.1%) |
| CIE-LAB | lab(49.37, 35.34, -43.07) |
| CIE-LCH | lch(49.37, 55.71, 309.37°) |
| OKLab | oklab(57.81% 0.0755 -0.1209) |
| OKLCH | oklch(57.81% 0.143 302) |
| XYZ | xyz(24.2508, 17.9002, 51.4576) |
| Luminance | 0.1790 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.17
Amethyst
#9B5FC0
ΔE00 3.80
Deep Lilac
#966EBD
ΔE00 4.83
Mediumpurple
#9370DB
ΔE00 6.24
Royal Purple
#7851A9
ΔE00 6.75
Purpley
#8756E4
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A62BF #97BF62
analogous
#6269BF #8A62BF #B862BF
triadic
#8A62BF #BF8A62 #62BF8A
tetradic
#8A62BF #BF6269 #97BF62 #62BFB8
square
#8A62BF #BF6269 #97BF62 #62BFB8
split-complementary
#8A62BF #BFB862 #69BF62
monochromatic
#4E3076 #6B42A2 #8A62BF #AA8DD1 #CBB9E2
Accessibility & contrast
On white
4.59
#8A62BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#8A62BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #8A62BF
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A62BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A62BF | 1.00 | 4.59 | 4.58 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4675C2
Deuteranopia (green-blind)
#5075BD
Tritanopia (blue-blind)
#807387
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #8a62bf; /* rgb */ color: rgb(138, 98, 191); /* oklch */ color: oklch(57.8% 0.143 302.0);
Tailwind
colors: {
custom: {
50: '#ae8fd3',
500: '#8a62bf',
950: '#000000',
},
}SCSS
$custom: #8a62bf; $custom-light: #ae8fd3; $custom-dark: #000000;
JSON
{
"hex": "#8a62bf",
"rgb": {
"r": 138,
"g": 98,
"b": 191
},
"hsl": {
"h": 265.806,
"s": 42.081,
"l": 56.667
},
"oklch": {
"l": 0.5781,
"c": 0.14258,
"h": 302
},
"luminance": 0.179
}Semantic roles & 50–950 ramp
primary
#8A62BF
secondary
#C1D1AB
accent
#D2569D
background
#FAF8FD
surface
#F5F0FA
border
#CFCBD3
text
#110C14
muted
#807D83