#8A63F2#8A63F2
#8A63F2 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.2% C 0.205 H 291.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8A63F2 |
|---|---|
| RGB | rgb(138, 99, 242) |
| HSL | hsl(256, 85%, 67%) |
| HSV | hsv(256, 59%, 95%) |
| CMYK | cmyk(43%, 59.1%, 0%, 5.1%) |
| CIE-LAB | lab(52.66, 48.10, -66.75) |
| CIE-LCH | lch(52.66, 82.27, 305.77°) |
| OKLab | oklab(61.22% 0.076 -0.1904) |
| OKLCH | oklch(61.22% 0.205 291.8) |
| XYZ | xyz(30.9657, 20.7368, 86.3583) |
| Luminance | 0.2074 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.03
Purpley
#8756E4
ΔE00 4.26
Lighter Purple
#A55AF4
ΔE00 5.00
Mediumpurple
#9370DB
ΔE00 5.33
Lightish Purple
#A552E6
ΔE00 6.48
Light Indigo
#6D5ACF
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A63F2 #CBF263
analogous
#6384F2 #8A63F2 #D263F2
triadic
#8A63F2 #F28A63 #63F28A
tetradic
#8A63F2 #F26384 #CBF263 #63F2D2
square
#8A63F2 #F26384 #CBF263 #63F2D2
split-complementary
#8A63F2 #F2D263 #84F263
monochromatic
#4311CA #602BED #8A63F2 #B49BF7 #DFD4FB
Accessibility & contrast
On white
4.08
#8A63F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#8A63F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A63F2
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A63F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A63F2 | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#007BEF
Tritanopia (blue-blind)
#6C83A1
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8a63f2; /* rgb */ color: rgb(138, 99, 242); /* oklch */ color: oklch(61.2% 0.205 291.8);
Tailwind
colors: {
custom: {
50: '#b391f7',
500: '#8a63f2',
950: '#000000',
},
}SCSS
$custom: #8a63f2; $custom-light: #b391f7; $custom-dark: #000000;
JSON
{
"hex": "#8a63f2",
"rgb": {
"r": 138,
"g": 99,
"b": 242
},
"hsl": {
"h": 256.364,
"s": 84.615,
"l": 66.863
},
"oklch": {
"l": 0.61222,
"c": 0.20501,
"h": 291.8
},
"luminance": 0.20738
}Semantic roles & 50–950 ramp
primary
#8A63F2
secondary
#E3EFC2
accent
#E104A5
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85