#8A63B6#8A63B6
#8A63B6 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.5% C 0.129 H 304.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #8A63B6 |
|---|---|
| RGB | rgb(138, 99, 182) |
| HSL | hsl(268, 36%, 55%) |
| HSV | hsv(268, 46%, 71%) |
| CMYK | cmyk(24.2%, 45.6%, 0%, 28.6%) |
| CIE-LAB | lab(49.14, 32.55, -38.24) |
| CIE-LCH | lch(49.14, 50.21, 310.41°) |
| OKLab | oklab(57.48% 0.0729 -0.1069) |
| OKLCH | oklch(57.48% 0.129 304.3) |
| XYZ | xyz(23.3848, 17.7044, 46.4322) |
| Luminance | 0.1770 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.72
Amethyst
#9B5FC0
ΔE00 3.90
Deep Lilac
#966EBD
ΔE00 4.26
Royal Purple
#7851A9
ΔE00 6.59
Dark Lavender
#856798
ΔE00 7.31
Mediumpurple
#9370DB
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A63B6 #8FB663
analogous
#6365B6 #8A63B6 #B463B6
triadic
#8A63B6 #B68A63 #63B68A
tetradic
#8A63B6 #B66365 #8FB663 #63B6B4
square
#8A63B6 #B66365 #8FB663 #63B6B4
split-complementary
#8A63B6 #B6B463 #65B663
monochromatic
#4E336C #6C4696 #8A63B6 #A98DCA #C9B6DD
Accessibility & contrast
On white
4.62
#8A63B6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#8A63B6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #8A63B6
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A63B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A63B6 | 1.00 | 4.62 | 4.54 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D74B9
Deuteranopia (green-blind)
#5675B4
Tritanopia (blue-blind)
#837184
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #8a63b6; /* rgb */ color: rgb(138, 99, 182); /* oklch */ color: oklch(57.5% 0.129 304.3);
Tailwind
colors: {
custom: {
50: '#ae90cc',
500: '#8a63b6',
950: '#000000',
},
}SCSS
$custom: #8a63b6; $custom-light: #ae90cc; $custom-dark: #000000;
JSON
{
"hex": "#8a63b6",
"rgb": {
"r": 138,
"g": 99,
"b": 182
},
"hsl": {
"h": 268.193,
"s": 36.245,
"l": 55.098
},
"oklch": {
"l": 0.57478,
"c": 0.12938,
"h": 304.3
},
"luminance": 0.17704
}Semantic roles & 50–950 ramp
primary
#8A63B6
secondary
#BBCCA9
accent
#CC5C97
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C13
muted
#7F7D82