#8A72EE#8A72EE

#8A72EE is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.4% C 0.179 H 289.2°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8A72EE
RGBrgb(138, 114, 238)
HSLhsl(252, 78%, 69%)
HSVhsv(252, 52%, 93%)
CMYKcmyk(42%, 52.1%, 0%, 6.7%)
CIE-LABlab(55.70, 38.54, -59.63)
CIE-LCHlch(55.70, 71.00, 302.87°)
OKLaboklab(63.38% 0.0589 -0.1694)
OKLCHoklch(63.38% 0.179 289.2)
XYZxyz(31.9269, 23.6099, 83.7473)
Luminance0.2361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72EE #D6EE72
analogous
#7298EE #8A72EE #C872EE
triadic
#8A72EE #EE8A72 #72EE8A
tetradic
#8A72EE #EE7298 #D6EE72 #72EEC8
square
#8A72EE #EE7298 #D6EE72 #72EEC8
split-complementary
#8A72EE #EEC872 #98EE72
monochromatic
#3C19CD #5D3BE7 #8A72EE #B7A9F5 #E5DFFB

Accessibility & contrast

On white

3.67
#8A72EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#8A72EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72EE
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72EE#FFFFFF#000000##000000
##8A72EE1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3988F2
Deuteranopia (green-blind)
#3B82EB
Tritanopia (blue-blind)
#6D8CA5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a72ee;
/* rgb */ color: rgb(138, 114, 238);
/* oklch */ color: oklch(63.4% 0.179 289.2);
Tailwind
colors: {
  custom: {
    50: '#b19bf4',
    500: '#8a72ee',
    950: '#000000',
  },
}
SCSS
$custom: #8a72ee;
$custom-light: #b19bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72ee",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 238
  },
  "hsl": {
    "h": 251.613,
    "s": 78.481,
    "l": 69.02
  },
  "oklch": {
    "l": 0.63382,
    "c": 0.17937,
    "h": 289.2
  },
  "luminance": 0.23611
}

Semantic roles & 50–950 ramp

primary
#8A72EE
secondary
#E9F0CC
accent
#DB0BB2
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A72EE

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

Preview Lab → · Contrast checker → · Palette generator →

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