#8E72E8#8E72E8

#8E72E8 is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.4% C 0.172 H 291.7°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8E72E8
RGBrgb(142, 114, 232)
HSLhsl(254, 72%, 68%)
HSVhsv(254, 51%, 91%)
CMYKcmyk(38.8%, 50.9%, 0%, 9%)
CIE-LABlab(55.70, 37.84, -56.26)
CIE-LCHlch(55.70, 67.80, 303.92°)
OKLaboklab(63.36% 0.0634 -0.1594)
OKLCHoklch(63.36% 0.172 291.7)
XYZxyz(31.7342, 23.6108, 79.2136)
Luminance0.2361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E72E8 #CCE872
analogous
#7291E8 #8E72E8 #C972E8
triadic
#8E72E8 #E88E72 #72E88E
tetradic
#8E72E8 #E87291 #CCE872 #72E8C9
square
#8E72E8 #E87291 #CCE872 #72E8C9
split-complementary
#8E72E8 #E8C972 #91E872
monochromatic
#461FC0 #643DDF #8E72E8 #B8A7F1 #E2DBF9

Accessibility & contrast

On white

3.67
#8E72E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#8E72E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E72E8
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E72E8#FFFFFF#000000##000000
##8E72E81.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4187EC
Deuteranopia (green-blind)
#4583E5
Tritanopia (blue-blind)
#768AA2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8e72e8;
/* rgb */ color: rgb(142, 114, 232);
/* oklch */ color: oklch(63.4% 0.172 291.7);
Tailwind
colors: {
  custom: {
    50: '#b39bf0',
    500: '#8e72e8',
    950: '#000000',
  },
}
SCSS
$custom: #8e72e8;
$custom-light: #b39bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e72e8",
  "rgb": {
    "r": 142,
    "g": 114,
    "b": 232
  },
  "hsl": {
    "h": 254.237,
    "s": 71.951,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63355,
    "c": 0.17157,
    "h": 291.7
  },
  "luminance": 0.23612
}

Semantic roles & 50–950 ramp

primary
#8E72E8
secondary
#E4EDC9
accent
#D411A6
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8E72E8

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

Preview Lab → · Contrast checker → · Palette generator →

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