#8A72E9#8A72E9

#8A72E9 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.1% C 0.173 H 289.8°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8A72E9
RGBrgb(138, 114, 233)
HSLhsl(252, 73%, 68%)
HSVhsv(252, 51%, 91%)
CMYKcmyk(40.8%, 51.1%, 0%, 8.6%)
CIE-LABlab(55.40, 37.16, -57.32)
CIE-LCHlch(55.40, 68.31, 302.96°)
OKLaboklab(63.07% 0.0586 -0.1626)
OKLCHoklch(63.07% 0.173 289.8)
XYZxyz(31.2025, 23.3201, 79.9322)
Luminance0.2332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72E9 #D1E972
analogous
#7295E9 #8A72E9 #C572E9
triadic
#8A72E9 #E98A72 #72E98A
tetradic
#8A72E9 #E97295 #D1E972 #72E9C5
square
#8A72E9 #E97295 #D1E972 #72E9C5
split-complementary
#8A72E9 #E9C572 #95E972
monochromatic
#3F1EC2 #5E3DE1 #8A72E9 #B6A7F1 #E2DCFA

Accessibility & contrast

On white

3.71
#8A72E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#8A72E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72E9
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72E9#FFFFFF#000000##000000
##8A72E91.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E87ED
Deuteranopia (green-blind)
#4182E6
Tritanopia (blue-blind)
#708BA3
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a72e9;
/* rgb */ color: rgb(138, 114, 233);
/* oklch */ color: oklch(63.1% 0.173 289.8);
Tailwind
colors: {
  custom: {
    50: '#b19bf1',
    500: '#8a72e9',
    950: '#000000',
  },
}
SCSS
$custom: #8a72e9;
$custom-light: #b19bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72e9",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 233
  },
  "hsl": {
    "h": 252.101,
    "s": 73.006,
    "l": 68.039
  },
  "oklch": {
    "l": 0.63068,
    "c": 0.17285,
    "h": 289.8
  },
  "luminance": 0.23321
}

Semantic roles & 50–950 ramp

primary
#8A72E9
secondary
#E6EEC9
accent
#D510AD
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A72E9

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

Preview Lab → · Contrast checker → · Palette generator →

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