#8A72E5#8A72E5

#8A72E5 is a light, vivid violet. Relative luminance 0.231; OKLCH L 62.8% C 0.168 H 290.3°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8A72E5
RGBrgb(138, 114, 229)
HSLhsl(253, 69%, 67%)
HSVhsv(253, 50%, 90%)
CMYKcmyk(39.7%, 50.2%, 0%, 10.2%)
CIE-LABlab(55.17, 36.06, -55.45)
CIE-LCHlch(55.17, 66.14, 303.04°)
OKLaboklab(62.82% 0.0583 -0.1572)
OKLCHoklch(62.82% 0.168 290.3)
XYZxyz(30.6375, 23.0941, 76.9569)
Luminance0.2309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72E5 #CDE572
analogous
#7293E5 #8A72E5 #C472E5
triadic
#8A72E5 #E58A72 #72E58A
tetradic
#8A72E5 #E57293 #CDE572 #72E5C4
square
#8A72E5 #E57293 #CDE572 #72E5C4
split-complementary
#8A72E5 #E5C472 #93E572
monochromatic
#4222BA #5F3EDB #8A72E5 #B5A6EF #E0D9F8

Accessibility & contrast

On white

3.74
#8A72E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#8A72E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72E5
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72E5#FFFFFF#000000##000000
##8A72E51.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4286E9
Deuteranopia (green-blind)
#4582E2
Tritanopia (blue-blind)
#718AA1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a72e5;
/* rgb */ color: rgb(138, 114, 229);
/* oklch */ color: oklch(62.8% 0.168 290.3);
Tailwind
colors: {
  custom: {
    50: '#b19bee',
    500: '#8a72e5',
    950: '#000000',
  },
}
SCSS
$custom: #8a72e5;
$custom-light: #b19bee;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72e5",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 229
  },
  "hsl": {
    "h": 252.522,
    "s": 68.862,
    "l": 67.255
  },
  "oklch": {
    "l": 0.62821,
    "c": 0.1676,
    "h": 290.3
  },
  "luminance": 0.23095
}

Semantic roles & 50–950 ramp

primary
#8A72E5
secondary
#E4ECC7
accent
#D115AA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A72E5

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

Preview Lab → · Contrast checker → · Palette generator →

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