#8D72EC#8D72EC

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

Color values

HEX#8D72EC
RGBrgb(141, 114, 236)
HSLhsl(253, 76%, 69%)
HSVhsv(253, 52%, 93%)
CMYKcmyk(40.3%, 51.7%, 0%, 7.5%)
CIE-LABlab(55.84, 38.68, -58.27)
CIE-LCHlch(55.84, 69.94, 303.58°)
OKLaboklab(63.52% 0.0624 -0.1654)
OKLCHoklch(63.52% 0.177 290.7)
XYZxyz(32.1380, 23.7525, 82.2320)
Luminance0.2375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D72EC #D1EC72
analogous
#7294EC #8D72EC #CA72EC
triadic
#8D72EC #EC8D72 #72EC8D
tetradic
#8D72EC #EC7294 #D1EC72 #72ECCA
square
#8D72EC #EC7294 #D1EC72 #72ECCA
split-complementary
#8D72EC #ECCA72 #94EC72
monochromatic
#411BC9 #613CE5 #8D72EC #B9A8F3 #E4DEFB

Accessibility & contrast

On white

3.65
#8D72EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D72EC#FFFFFF#000000##000000
##8D72EC1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C88F0
Deuteranopia (green-blind)
#4083E9
Tritanopia (blue-blind)
#738BA4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d72ec;
/* rgb */ color: rgb(141, 114, 236);
/* oklch */ color: oklch(63.5% 0.177 290.7);
Tailwind
colors: {
  custom: {
    50: '#b39bf3',
    500: '#8d72ec',
    950: '#000000',
  },
}
SCSS
$custom: #8d72ec;
$custom-light: #b39bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d72ec",
  "rgb": {
    "r": 141,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 253.279,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.63515,
    "c": 0.17674,
    "h": 290.7
  },
  "luminance": 0.23753
}

Semantic roles & 50–950 ramp

primary
#8D72EC
secondary
#E7EFCB
accent
#D80DAB
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8D72EC

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

Preview Lab → · Contrast checker → · Palette generator →

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