#8E72DF#8E72DF

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

Color values

HEX#8E72DF
RGBrgb(142, 114, 223)
HSLhsl(255, 63%, 66%)
HSVhsv(255, 49%, 87%)
CMYKcmyk(36.3%, 48.9%, 0%, 12.5%)
CIE-LABlab(55.19, 35.43, -52.03)
CIE-LCHlch(55.19, 62.94, 304.25°)
OKLaboklab(62.81% 0.0626 -0.147)
OKLCHoklch(62.81% 0.16 293.1)
XYZxyz(30.4884, 23.1124, 72.6525)
Luminance0.2311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E72DF #C3DF72
analogous
#728CDF #8E72DF #C472DF
triadic
#8E72DF #DF8E72 #72DF8E
tetradic
#8E72DF #DF728C #C3DF72 #72DFC4
square
#8E72DF #DF728C #C3DF72 #72DFC4
split-complementary
#8E72DF #DFC472 #8CDF72
monochromatic
#4A28AF #6640D4 #8E72DF #B6A4EA #DED6F6

Accessibility & contrast

On white

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

On black

5.62
#8E72DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E72DF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E72DF#FFFFFF#000000##000000
##8E72DF1.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4986E3
Deuteranopia (green-blind)
#4E82DC
Tritanopia (blue-blind)
#7A889E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8e72df;
/* rgb */ color: rgb(142, 114, 223);
/* oklch */ color: oklch(62.8% 0.160 293.1);
Tailwind
colors: {
  custom: {
    50: '#b39be9',
    500: '#8e72df',
    950: '#000000',
  },
}
SCSS
$custom: #8e72df;
$custom-light: #b39be9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e72df",
  "rgb": {
    "r": 142,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 255.413,
    "s": 63.006,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62811,
    "c": 0.1598,
    "h": 293.1
  },
  "luminance": 0.23113
}

Semantic roles & 50–950 ramp

primary
#8E72DF
secondary
#DFE8C4
accent
#CB1B9E
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8E72DF

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

Preview Lab → · Contrast checker → · Palette generator →

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