#8A72E8#8A72E8

#8A72E8 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.0% C 0.172 H 289.9°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8A72E8
RGBrgb(138, 114, 232)
HSLhsl(252, 72%, 68%)
HSVhsv(252, 51%, 91%)
CMYKcmyk(40.5%, 50.9%, 0%, 9%)
CIE-LABlab(55.34, 36.89, -56.85)
CIE-LCHlch(55.34, 67.77, 302.98°)
OKLaboklab(63.01% 0.0585 -0.1613)
OKLCHoklch(63.01% 0.172 289.9)
XYZxyz(31.0600, 23.2631, 79.1820)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72E8 #D0E872
analogous
#7295E8 #8A72E8 #C572E8
triadic
#8A72E8 #E88A72 #72E88A
tetradic
#8A72E8 #E87295 #D0E872 #72E8C5
square
#8A72E8 #E87295 #D0E872 #72E8C5
split-complementary
#8A72E8 #E8C572 #95E872
monochromatic
#401FC0 #5E3DDF #8A72E8 #B6A7F1 #E1DBF9

Accessibility & contrast

On white

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

On black

5.65
#8A72E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72E8
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72E8#FFFFFF#000000##000000
##8A72E81.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4087EC
Deuteranopia (green-blind)
#4282E5
Tritanopia (blue-blind)
#708AA2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a72e8;
/* rgb */ color: rgb(138, 114, 232);
/* oklch */ color: oklch(63.0% 0.172 289.9);
Tailwind
colors: {
  custom: {
    50: '#b19bf0',
    500: '#8a72e8',
    950: '#000000',
  },
}
SCSS
$custom: #8a72e8;
$custom-light: #b19bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72e8",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 232
  },
  "hsl": {
    "h": 252.203,
    "s": 71.951,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63006,
    "c": 0.17154,
    "h": 289.9
  },
  "luminance": 0.23264
}

Semantic roles & 50–950 ramp

primary
#8A72E8
secondary
#E6EDC9
accent
#D411AC
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A72E8

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

Preview Lab → · Contrast checker → · Palette generator →

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