#8E72EA#8E72EA

#8E72EA is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.5% C 0.174 H 291.4°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8E72EA
RGBrgb(142, 114, 234)
HSLhsl(254, 74%, 68%)
HSVhsv(254, 51%, 92%)
CMYKcmyk(39.3%, 51.3%, 0%, 8.2%)
CIE-LABlab(55.81, 38.38, -57.20)
CIE-LCHlch(55.81, 68.88, 303.86°)
OKLaboklab(63.48% 0.0635 -0.1622)
OKLCHoklch(63.48% 0.174 291.4)
XYZxyz(32.0199, 23.7250, 80.7183)
Luminance0.2373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E72EA #CEEA72
analogous
#7292EA #8E72EA #CA72EA
triadic
#8E72EA #EA8E72 #72EA8E
tetradic
#8E72EA #EA7292 #CEEA72 #72EACA
square
#8E72EA #EA7292 #CEEA72 #72EACA
split-complementary
#8E72EA #EACA72 #92EA72
monochromatic
#441DC4 #633DE2 #8E72EA #B9A7F2 #E3DDFA

Accessibility & contrast

On white

3.66
#8E72EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#8E72EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E72EA
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E72EA#FFFFFF#000000##000000
##8E72EA1.003.665.755.75
#FFFFFF3.661.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F88EE
Deuteranopia (green-blind)
#4383E7
Tritanopia (blue-blind)
#768BA3
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8e72ea;
/* rgb */ color: rgb(142, 114, 234);
/* oklch */ color: oklch(63.5% 0.174 291.4);
Tailwind
colors: {
  custom: {
    50: '#b49bf1',
    500: '#8e72ea',
    950: '#000000',
  },
}
SCSS
$custom: #8e72ea;
$custom-light: #b49bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e72ea",
  "rgb": {
    "r": 142,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 254,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.63478,
    "c": 0.17416,
    "h": 291.4
  },
  "luminance": 0.23726
}

Semantic roles & 50–950 ramp

primary
#8E72EA
secondary
#E6EECA
accent
#D60FA8
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8E72EA

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

Preview Lab → · Contrast checker → · Palette generator →

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