#8A62BB#8A62BB
#8A62BB is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.6% C 0.137 H 303.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #8A62BB |
|---|---|
| RGB | rgb(138, 98, 187) |
| HSL | hsl(267, 40%, 56%) |
| HSV | hsv(267, 48%, 73%) |
| CMYK | cmyk(26.2%, 47.6%, 0%, 26.7%) |
| CIE-LAB | lab(49.16, 34.35, -41.09) |
| CIE-LCH | lch(49.16, 53.56, 309.89°) |
| OKLab | oklab(57.58% 0.0751 -0.1152) |
| OKLCH | oklch(57.58% 0.137 303.1) |
| XYZ | xyz(23.8166, 17.7265, 49.1709) |
| Luminance | 0.1773 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.66
Amethyst
#9B5FC0
ΔE00 3.71
Deep Lilac
#966EBD
ΔE00 4.62
Royal Purple
#7851A9
ΔE00 6.51
Mediumpurple
#9370DB
ΔE00 6.78
Purpley
#8756E4
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A62BB #93BB62
analogous
#6266BB #8A62BB #B662BB
triadic
#8A62BB #BB8A62 #62BB8A
tetradic
#8A62BB #BB6266 #93BB62 #62BBB6
square
#8A62BB #BB6266 #93BB62 #62BBB6
split-complementary
#8A62BB #BBB662 #66BB62
monochromatic
#4E3171 #6B449C #8A62BB #AA8DCD #CAB7E0
Accessibility & contrast
On white
4.62
#8A62BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#8A62BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #8A62BB
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A62BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A62BB | 1.00 | 4.62 | 4.55 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4874BE
Deuteranopia (green-blind)
#5275B9
Tritanopia (blue-blind)
#817286
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #8a62bb; /* rgb */ color: rgb(138, 98, 187); /* oklch */ color: oklch(57.6% 0.137 303.1);
Tailwind
colors: {
custom: {
50: '#ae8fd0',
500: '#8a62bb',
950: '#000000',
},
}SCSS
$custom: #8a62bb; $custom-light: #ae8fd0; $custom-dark: #000000;
JSON
{
"hex": "#8a62bb",
"rgb": {
"r": 138,
"g": 98,
"b": 187
},
"hsl": {
"h": 266.966,
"s": 39.556,
"l": 55.882
},
"oklch": {
"l": 0.57583,
"c": 0.13747,
"h": 303.1
},
"luminance": 0.17726
}Semantic roles & 50–950 ramp
primary
#8A62BB
secondary
#BECFAA
accent
#CF589A
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#100C14
muted
#7F7D82