#8E73DB#8E73DB

#8E73DB is a light, vivid violet. Relative luminance 0.231; OKLCH L 62.8% C 0.153 H 293.5°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8E73DB
RGBrgb(142, 115, 219)
HSLhsl(256, 59%, 65%)
HSVhsv(256, 47%, 86%)
CMYKcmyk(35.2%, 47.5%, 0%, 14.1%)
CIE-LABlab(55.20, 33.79, -49.76)
CIE-LCHlch(55.20, 60.14, 304.18°)
OKLaboklab(62.75% 0.0609 -0.1404)
OKLCHoklch(62.75% 0.153 293.5)
XYZxyz(30.0689, 23.1261, 69.8837)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E73DB #C0DB73
analogous
#738CDB #8E73DB #C273DB
triadic
#8E73DB #DB8E73 #73DB8E
tetradic
#8E73DB #DB738C #C0DB73 #73DBC2
square
#8E73DB #DB738C #C0DB73 #73DBC2
split-complementary
#8E73DB #DBC273 #8CDB73
monochromatic
#4C2BA8 #6742CE #8E73DB #B5A4E8 #DDD4F4

Accessibility & contrast

On white

3.73
#8E73DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#8E73DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E73DB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E73DB#FFFFFF#000000##000000
##8E73DB1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E85DF
Deuteranopia (green-blind)
#5282D9
Tritanopia (blue-blind)
#7C879D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8e73db;
/* rgb */ color: rgb(142, 115, 219);
/* oklch */ color: oklch(62.8% 0.153 293.5);
Tailwind
colors: {
  custom: {
    50: '#b29be7',
    500: '#8e73db',
    950: '#000000',
  },
}
SCSS
$custom: #8e73db;
$custom-light: #b29be7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e73db",
  "rgb": {
    "r": 142,
    "g": 115,
    "b": 219
  },
  "hsl": {
    "h": 255.577,
    "s": 59.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62751,
    "c": 0.15302,
    "h": 293.5
  },
  "luminance": 0.23127
}

Semantic roles & 50–950 ramp

primary
#8E73DB
secondary
#DDE6C3
accent
#C71F9B
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8E73DB

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

Preview Lab → · Contrast checker → · Palette generator →

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