#8E72CD#8E72CD

#8E72CD is a mid, vivid violet. Relative luminance 0.222; OKLCH L 61.8% C 0.136 H 296.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8E72CD
RGBrgb(142, 114, 205)
HSLhsl(258, 48%, 63%)
HSVhsv(258, 44%, 80%)
CMYKcmyk(30.7%, 44.4%, 0%, 19.6%)
CIE-LABlab(54.23, 30.72, -43.37)
CIE-LCHlch(54.23, 53.15, 305.31°)
OKLaboklab(61.78% 0.0604 -0.1217)
OKLCHoklch(61.78% 0.136 296.4)
XYZxyz(28.1894, 22.1928, 60.5443)
Luminance0.2219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E72CD #B1CD72
analogous
#7283CD #8E72CD #BC72CD
triadic
#8E72CD #CD8E72 #72CD8E
tetradic
#8E72CD #CD7283 #B1CD72 #72CDBC
square
#8E72CD #CD7283 #B1CD72 #72CDBC
split-complementary
#8E72CD #CDBC72 #83CD72
monochromatic
#503391 #6A45BD #8E72CD #B29FDD #D6CCED

Accessibility & contrast

On white

3.86
#8E72CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#8E72CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E72CD
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E72CD#FFFFFF#000000##000000
##8E72CD1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5682D0
Deuteranopia (green-blind)
#5B81CB
Tritanopia (blue-blind)
#808396
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8e72cd;
/* rgb */ color: rgb(142, 114, 205);
/* oklch */ color: oklch(61.8% 0.136 296.4);
Tailwind
colors: {
  custom: {
    50: '#b19bdc',
    500: '#8e72cd',
    950: '#000000',
  },
}
SCSS
$custom: #8e72cd;
$custom-light: #b19bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e72cd",
  "rgb": {
    "r": 142,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 258.462,
    "s": 47.644,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61782,
    "c": 0.1359,
    "h": 296.4
  },
  "luminance": 0.22193
}

Semantic roles & 50–950 ramp

primary
#8E72CD
secondary
#D4DEBD
accent
#BB2B8F
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8E72CD

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

Preview Lab → · Contrast checker → · Palette generator →

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