#8A72E7#8A72E7

#8A72E7 is a light, vivid violet. Relative luminance 0.232; OKLCH L 62.9% C 0.170 H 290.1°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8A72E7
RGBrgb(138, 114, 231)
HSLhsl(252, 71%, 68%)
HSVhsv(252, 51%, 91%)
CMYKcmyk(40.3%, 50.6%, 0%, 9.4%)
CIE-LABlab(55.28, 36.61, -56.38)
CIE-LCHlch(55.28, 67.23, 303.00°)
OKLaboklab(62.94% 0.0584 -0.1599)
OKLCHoklch(62.94% 0.17 290.1)
XYZxyz(30.9184, 23.2065, 78.4361)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72E7 #CFE772
analogous
#7294E7 #8A72E7 #C572E7
triadic
#8A72E7 #E78A72 #72E78A
tetradic
#8A72E7 #E77294 #CFE772 #72E7C5
square
#8A72E7 #E77294 #CFE772 #72E7C5
split-complementary
#8A72E7 #E7C572 #94E772
monochromatic
#4120BE #5F3EDE #8A72E7 #B5A6F0 #E1DBF9

Accessibility & contrast

On white

3.72
#8A72E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#8A72E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72E7
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72E7#FFFFFF#000000##000000
##8A72E71.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4187EB
Deuteranopia (green-blind)
#4382E4
Tritanopia (blue-blind)
#708AA2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a72e7;
/* rgb */ color: rgb(138, 114, 231);
/* oklch */ color: oklch(62.9% 0.170 290.1);
Tailwind
colors: {
  custom: {
    50: '#b19bef',
    500: '#8a72e7',
    950: '#000000',
  },
}
SCSS
$custom: #8a72e7;
$custom-light: #b19bef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72e7",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 231
  },
  "hsl": {
    "h": 252.308,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.62944,
    "c": 0.17022,
    "h": 290.1
  },
  "luminance": 0.23207
}

Semantic roles & 50–950 ramp

primary
#8A72E7
secondary
#E5EDC8
accent
#D313AB
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A72E7

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

Preview Lab → · Contrast checker → · Palette generator →

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