#8E73FA#8E73FA

#8E73FA is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.7% C 0.193 H 289.0°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8E73FA
RGBrgb(142, 115, 250)
HSLhsl(252, 93%, 72%)
HSVhsv(252, 54%, 98%)
CMYKcmyk(43.2%, 54%, 0%, 2%)
CIE-LABlab(56.99, 42.18, -64.19)
CIE-LCHlch(56.99, 76.81, 303.31°)
OKLaboklab(64.66% 0.0631 -0.1827)
OKLCHoklch(64.66% 0.193 289)
XYZxyz(34.5365, 24.9131, 93.4130)
Luminance0.2491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E73FA #DFFA73
analogous
#739CFA #8E73FA #D273FA
triadic
#8E73FA #FA8E73 #73FA8E
tetradic
#8E73FA #FA739C #DFFA73 #73FAD2
square
#8E73FA #FA739C #DFFA73 #73FAD2
split-complementary
#8E73FA #FAD273 #9CFA73
monochromatic
#3608EA #5E38F8 #8E73FA #BEAEFC #E7E1FE

Accessibility & contrast

On white

3.51
#8E73FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#8E73FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E73FA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E73FA#FFFFFF#000000##000000
##8E73FA1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8CFF
Deuteranopia (green-blind)
#2F85F7
Tritanopia (blue-blind)
#6E90AC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8e73fa;
/* rgb */ color: rgb(142, 115, 250);
/* oklch */ color: oklch(64.7% 0.193 289.0);
Tailwind
colors: {
  custom: {
    50: '#b59cfd',
    500: '#8e73fa',
    950: '#000000',
  },
}
SCSS
$custom: #8e73fa;
$custom-light: #b59cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e73fa",
  "rgb": {
    "r": 142,
    "g": 115,
    "b": 250
  },
  "hsl": {
    "h": 252,
    "s": 93.103,
    "l": 71.569
  },
  "oklch": {
    "l": 0.64661,
    "c": 0.1933,
    "h": 289
  },
  "luminance": 0.24914
}

Semantic roles & 50–950 ramp

primary
#8E73FA
secondary
#EFF6D3
accent
#E600B8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8E73FA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8E73FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva