#8A73F4#8A73F4
#8A73F4 is a light, vivid violet. Relative luminance 0.242; OKLCH L 63.9% C 0.186 H 288.2°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8A73F4 |
|---|---|
| RGB | rgb(138, 115, 244) |
| HSL | hsl(251, 85%, 70%) |
| HSV | hsv(251, 53%, 96%) |
| CMYK | cmyk(43.4%, 52.9%, 0%, 4.3%) |
| CIE-LAB | lab(56.28, 39.63, -62.03) |
| CIE-LCH | lch(56.28, 73.61, 302.58°) |
| OKLab | oklab(63.93% 0.058 -0.1765) |
| OKLCH | oklch(63.93% 0.186 288.2) |
| XYZ | xyz(32.9365, 24.1952, 88.5051) |
| Luminance | 0.2420 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.08
Periwinkle (survey)
#8E82FE
ΔE00 4.48
Mediumpurple
#9370DB
ΔE00 4.65
Lavender Blue
#8B88F8
ΔE00 6.23
Cornflower
#6A79F7
ΔE00 6.33
Light Urple
#B36FF6
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A73F4 #DDF473
analogous
#739CF4 #8A73F4 #CB73F4
triadic
#8A73F4 #F48A73 #73F48A
tetradic
#8A73F4 #F4739C #DDF473 #73F4CB
square
#8A73F4 #F4739C #DDF473 #73F4CB
split-complementary
#8A73F4 #F4CB73 #9CF473
monochromatic
#3511DB #5B3AF0 #8A73F4 #B9ACF8 #E7E3FD
Accessibility & contrast
On white
3.60
#8A73F4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#8A73F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A73F4
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A73F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A73F4 | 1.00 | 3.60 | 5.84 | 5.84 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#348AF8
Deuteranopia (green-blind)
#3484F1
Tritanopia (blue-blind)
#6A8FA9
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8a73f4; /* rgb */ color: rgb(138, 115, 244); /* oklch */ color: oklch(63.9% 0.186 288.2);
Tailwind
colors: {
custom: {
50: '#b29cf8',
500: '#8a73f4',
950: '#000000',
},
}SCSS
$custom: #8a73f4; $custom-light: #b29cf8; $custom-dark: #000000;
JSON
{
"hex": "#8a73f4",
"rgb": {
"r": 138,
"g": 115,
"b": 244
},
"hsl": {
"h": 250.698,
"s": 85.43,
"l": 70.392
},
"oklch": {
"l": 0.63935,
"c": 0.18575,
"h": 288.2
},
"luminance": 0.24196
}Semantic roles & 50–950 ramp
primary
#8A73F4
secondary
#EDF3D0
accent
#E204BA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85