#8D72E1#8D72E1

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

Color values

HEX#8D72E1
RGBrgb(141, 114, 225)
HSLhsl(255, 65%, 66%)
HSVhsv(255, 49%, 88%)
CMYKcmyk(37.3%, 49.3%, 0%, 11.8%)
CIE-LABlab(55.21, 35.71, -53.13)
CIE-LCHlch(55.21, 64.01, 303.91°)
OKLaboklab(62.84% 0.0616 -0.1503)
OKLCHoklch(62.84% 0.162 292.3)
XYZxyz(30.5888, 23.1328, 74.0730)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D72E1 #C6E172
analogous
#728FE1 #8D72E1 #C572E1
triadic
#8D72E1 #E18D72 #72E18D
tetradic
#8D72E1 #E1728F #C6E172 #72E1C5
square
#8D72E1 #E1728F #C6E172 #72E1C5
split-complementary
#8D72E1 #E1C572 #8FE172
monochromatic
#4826B3 #6440D6 #8D72E1 #B6A4EC #DFD7F6

Accessibility & contrast

On white

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

On black

5.63
#8D72E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D72E1
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D72E1#FFFFFF#000000##000000
##8D72E11.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4786E5
Deuteranopia (green-blind)
#4B82DE
Tritanopia (blue-blind)
#78889F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8d72e1;
/* rgb */ color: rgb(141, 114, 225);
/* oklch */ color: oklch(62.8% 0.162 292.3);
Tailwind
colors: {
  custom: {
    50: '#b29beb',
    500: '#8d72e1',
    950: '#000000',
  },
}
SCSS
$custom: #8d72e1;
$custom-light: #b29beb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d72e1",
  "rgb": {
    "r": 141,
    "g": 114,
    "b": 225
  },
  "hsl": {
    "h": 254.595,
    "s": 64.912,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62841,
    "c": 0.16239,
    "h": 292.3
  },
  "luminance": 0.23134
}

Semantic roles & 50–950 ramp

primary
#8D72E1
secondary
#E1E9C5
accent
#CD19A1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8D72E1

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

Preview Lab → · Contrast checker → · Palette generator →

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