#8A63BA#8A63BA
#8A63BA is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.7% C 0.135 H 303.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8A63BA |
|---|---|
| RGB | rgb(138, 99, 186) |
| HSL | hsl(267, 39%, 56%) |
| HSV | hsv(267, 47%, 73%) |
| CMYK | cmyk(25.8%, 46.8%, 0%, 27.1%) |
| CIE-LAB | lab(49.34, 33.53, -40.23) |
| CIE-LCH | lch(49.34, 52.37, 309.80°) |
| OKLab | oklab(57.7% 0.0735 -0.1127) |
| OKLCH | oklch(57.7% 0.135 303.1) |
| XYZ | xyz(23.8041, 17.8722, 48.6405) |
| Luminance | 0.1787 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.82
Amethyst
#9B5FC0
ΔE00 3.80
Deep Lilac
#966EBD
ΔE00 4.33
Royal Purple
#7851A9
ΔE00 6.70
Mediumpurple
#9370DB
ΔE00 6.76
Purpley
#8756E4
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A63BA #93BA63
analogous
#6367BA #8A63BA #B663BA
triadic
#8A63BA #BA8A63 #63BA8A
tetradic
#8A63BA #BA6367 #93BA63 #63BAB6
square
#8A63BA #BA6367 #93BA63 #63BAB6
split-complementary
#8A63BA #BAB663 #67BA63
monochromatic
#4E3271 #6B459B #8A63BA #AA8DCD #CAB8E0
Accessibility & contrast
On white
4.59
#8A63BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#8A63BA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #8A63BA
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A63BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A63BA | 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)
#4B74BD
Deuteranopia (green-blind)
#5475B8
Tritanopia (blue-blind)
#827286
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #8a63ba; /* rgb */ color: rgb(138, 99, 186); /* oklch */ color: oklch(57.7% 0.135 303.1);
Tailwind
colors: {
custom: {
50: '#ae90cf',
500: '#8a63ba',
950: '#000000',
},
}SCSS
$custom: #8a63ba; $custom-light: #ae90cf; $custom-dark: #000000;
JSON
{
"hex": "#8a63ba",
"rgb": {
"r": 138,
"g": 99,
"b": 186
},
"hsl": {
"h": 266.897,
"s": 38.667,
"l": 55.882
},
"oklch": {
"l": 0.57699,
"c": 0.13453,
"h": 303.1
},
"luminance": 0.17872
}Semantic roles & 50–950 ramp
primary
#8A63BA
secondary
#BECEAA
accent
#CF599A
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#100C14
muted
#7F7D82