#8A63E6#8A63E6
#8A63E6 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.4% C 0.190 H 293.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #8A63E6 |
|---|---|
| RGB | rgb(138, 99, 230) |
| HSL | hsl(258, 72%, 65%) |
| HSV | hsv(258, 57%, 90%) |
| CMYK | cmyk(40%, 57%, 0%, 9.8%) |
| CIE-LAB | lab(51.88, 44.87, -61.28) |
| CIE-LCH | lch(51.88, 75.95, 306.21°) |
| OKLab | oklab(60.4% 0.0763 -0.1743) |
| OKLCH | oklch(60.4% 0.19 293.6) |
| XYZ | xyz(29.2222, 20.0394, 77.1759) |
| Luminance | 0.2004 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.47
Purpley
#8756E4
ΔE00 3.59
Mediumpurple
#9370DB
ΔE00 4.52
Lighter Purple
#A55AF4
ΔE00 5.15
Lightish Purple
#A552E6
ΔE00 6.03
Light Indigo
#6D5ACF
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A63E6 #BFE663
analogous
#637DE6 #8A63E6 #CC63E6
triadic
#8A63E6 #E68A63 #63E68A
tetradic
#8A63E6 #E6637D #BFE663 #63E6CC
square
#8A63E6 #E6637D #BFE663 #63E6CC
split-complementary
#8A63E6 #E6CC63 #7DE663
monochromatic
#491DB2 #622EDE #8A63E6 #B298EE #D9CCF7
Accessibility & contrast
On white
4.19
#8A63E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#8A63E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A63E6
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A63E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A63E6 | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#167DEA
Deuteranopia (green-blind)
#2779E3
Tritanopia (blue-blind)
#727F9B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8a63e6; /* rgb */ color: rgb(138, 99, 230); /* oklch */ color: oklch(60.4% 0.190 293.6);
Tailwind
colors: {
custom: {
50: '#b191ef',
500: '#8a63e6',
950: '#000000',
},
}SCSS
$custom: #8a63e6; $custom-light: #b191ef; $custom-dark: #000000;
JSON
{
"hex": "#8a63e6",
"rgb": {
"r": 138,
"g": 99,
"b": 230
},
"hsl": {
"h": 257.863,
"s": 72.376,
"l": 64.51
},
"oklch": {
"l": 0.60403,
"c": 0.19028,
"h": 293.6
},
"luminance": 0.2004
}Semantic roles & 50–950 ramp
primary
#8A63E6
secondary
#DCE9BC
accent
#D4119A
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84