#8A72EA#8A72EA

#8A72EA is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.1% C 0.174 H 289.7°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8A72EA
RGBrgb(138, 114, 234)
HSLhsl(252, 74%, 68%)
HSVhsv(252, 51%, 92%)
CMYKcmyk(41%, 51.3%, 0%, 8.2%)
CIE-LABlab(55.46, 37.44, -57.78)
CIE-LCHlch(55.46, 68.85, 302.94°)
OKLaboklab(63.13% 0.0586 -0.164)
OKLCHoklch(63.13% 0.174 289.7)
XYZxyz(31.3457, 23.3774, 80.6867)
Luminance0.2338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72EA #D2EA72
analogous
#7296EA #8A72EA #C672EA
triadic
#8A72EA #EA8A72 #72EA8A
tetradic
#8A72EA #EA7296 #D2EA72 #72EAC6
square
#8A72EA #EA7296 #D2EA72 #72EAC6
split-complementary
#8A72EA #EAC672 #96EA72
monochromatic
#3F1DC4 #5E3DE2 #8A72EA #B6A7F2 #E2DDFA

Accessibility & contrast

On white

3.70
#8A72EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#8A72EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72EA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72EA#FFFFFF#000000##000000
##8A72EA1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D87EE
Deuteranopia (green-blind)
#4082E7
Tritanopia (blue-blind)
#6F8BA3
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a72ea;
/* rgb */ color: rgb(138, 114, 234);
/* oklch */ color: oklch(63.1% 0.174 289.7);
Tailwind
colors: {
  custom: {
    50: '#b19bf1',
    500: '#8a72ea',
    950: '#000000',
  },
}
SCSS
$custom: #8a72ea;
$custom-light: #b19bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72ea",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 252,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6313,
    "c": 0.17416,
    "h": 289.7
  },
  "luminance": 0.23378
}

Semantic roles & 50–950 ramp

primary
#8A72EA
secondary
#E7EECA
accent
#D60FAE
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A72EA

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

Preview Lab → · Contrast checker → · Palette generator →

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