#8A73F2#8A73F2
#8A73F2 is a light, vivid violet. Relative luminance 0.241; OKLCH L 63.8% C 0.183 H 288.4°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #8A73F2 |
|---|---|
| RGB | rgb(138, 115, 242) |
| HSL | hsl(251, 83%, 70%) |
| HSV | hsv(251, 52%, 95%) |
| CMYK | cmyk(43%, 52.5%, 0%, 5.1%) |
| CIE-LAB | lab(56.16, 39.08, -61.11) |
| CIE-LCH | lch(56.16, 72.53, 302.60°) |
| OKLab | oklab(63.81% 0.0579 -0.1738) |
| OKLCH | oklch(63.81% 0.183 288.4) |
| XYZ | xyz(32.6345, 24.0744, 86.9145) |
| Luminance | 0.2408 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.04
Mediumpurple
#9370DB
ΔE00 4.41
Periwinkle (survey)
#8E82FE
ΔE00 4.58
Lavender Blue
#8B88F8
ΔE00 6.28
Cornflower
#6A79F7
ΔE00 6.39
Light Urple
#B36FF6
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A73F2 #DBF273
analogous
#739CF2 #8A73F2 #C973F2
triadic
#8A73F2 #F28A73 #73F28A
tetradic
#8A73F2 #F2739C #DBF273 #73F2C9
square
#8A73F2 #F2739C #DBF273 #73F2C9
split-complementary
#8A73F2 #F2C973 #9CF273
monochromatic
#3714D7 #5B3BED #8A73F2 #B9ABF7 #E8E3FC
Accessibility & contrast
On white
3.61
#8A73F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.82
#8A73F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A73F2
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A73F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A73F2 | 1.00 | 3.61 | 5.82 | 5.82 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3689F6
Deuteranopia (green-blind)
#3783EF
Tritanopia (blue-blind)
#6B8EA8
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8a73f2; /* rgb */ color: rgb(138, 115, 242); /* oklch */ color: oklch(63.8% 0.183 288.4);
Tailwind
colors: {
custom: {
50: '#b29cf7',
500: '#8a73f2',
950: '#000000',
},
}SCSS
$custom: #8a73f2; $custom-light: #b29cf7; $custom-dark: #000000;
JSON
{
"hex": "#8a73f2",
"rgb": {
"r": 138,
"g": 115,
"b": 242
},
"hsl": {
"h": 250.866,
"s": 83.007,
"l": 70
},
"oklch": {
"l": 0.63807,
"c": 0.18316,
"h": 288.4
},
"luminance": 0.24076
}Semantic roles & 50–950 ramp
primary
#8A73F2
secondary
#ECF2CF
accent
#DF06B8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85