#8A72E1#8A72E1

#8A72E1 is a light, vivid violet. Relative luminance 0.229; OKLCH L 62.6% C 0.162 H 290.9°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8A72E1
RGBrgb(138, 114, 225)
HSLhsl(253, 65%, 66%)
HSVhsv(253, 49%, 88%)
CMYKcmyk(38.7%, 49.3%, 0%, 11.8%)
CIE-LABlab(54.94, 34.97, -53.57)
CIE-LCHlch(54.94, 63.97, 303.14°)
OKLaboklab(62.58% 0.0579 -0.1516)
OKLCHoklch(62.58% 0.162 290.9)
XYZxyz(30.0855, 22.8733, 74.0494)
Luminance0.2287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72E1 #C9E172
analogous
#7292E1 #8A72E1 #C272E1
triadic
#8A72E1 #E18A72 #72E18A
tetradic
#8A72E1 #E17292 #C9E172 #72E1C2
square
#8A72E1 #E17292 #C9E172 #72E1C2
split-complementary
#8A72E1 #E1C272 #92E172
monochromatic
#4426B3 #6040D6 #8A72E1 #B4A4EC #DED7F6

Accessibility & contrast

On white

3.77
#8A72E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#8A72E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72E1
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72E1#FFFFFF#000000##000000
##8A72E11.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4685E5
Deuteranopia (green-blind)
#4981DE
Tritanopia (blue-blind)
#73889F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a72e1;
/* rgb */ color: rgb(138, 114, 225);
/* oklch */ color: oklch(62.6% 0.162 290.9);
Tailwind
colors: {
  custom: {
    50: '#b09beb',
    500: '#8a72e1',
    950: '#000000',
  },
}
SCSS
$custom: #8a72e1;
$custom-light: #b09beb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72e1",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 225
  },
  "hsl": {
    "h": 252.973,
    "s": 64.912,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62577,
    "c": 0.16233,
    "h": 290.9
  },
  "luminance": 0.22874
}

Semantic roles & 50–950 ramp

primary
#8A72E1
secondary
#E2E9C5
accent
#CD19A6
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A72E1

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

Preview Lab → · Contrast checker → · Palette generator →

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