#8A72EC#8A72EC

#8A72EC is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.3% C 0.177 H 289.4°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8A72EC
RGBrgb(138, 114, 236)
HSLhsl(252, 76%, 69%)
HSVhsv(252, 52%, 93%)
CMYKcmyk(41.5%, 51.7%, 0%, 7.5%)
CIE-LABlab(55.58, 37.99, -58.71)
CIE-LCHlch(55.58, 69.93, 302.90°)
OKLaboklab(63.26% 0.0587 -0.1667)
OKLCHoklch(63.26% 0.177 289.4)
XYZxyz(31.6347, 23.4930, 82.2084)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72EC #D4EC72
analogous
#7297EC #8A72EC #C772EC
triadic
#8A72EC #EC8A72 #72EC8A
tetradic
#8A72EC #EC7297 #D4EC72 #72ECC7
square
#8A72EC #EC7297 #D4EC72 #72ECC7
split-complementary
#8A72EC #ECC772 #97EC72
monochromatic
#3D1BC9 #5D3CE5 #8A72EC #B7A8F3 #E4DEFB

Accessibility & contrast

On white

3.68
#8A72EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#8A72EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72EC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72EC#FFFFFF#000000##000000
##8A72EC1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B88F0
Deuteranopia (green-blind)
#3D82E9
Tritanopia (blue-blind)
#6E8CA4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a72ec;
/* rgb */ color: rgb(138, 114, 236);
/* oklch */ color: oklch(63.3% 0.177 289.4);
Tailwind
colors: {
  custom: {
    50: '#b19bf3',
    500: '#8a72ec',
    950: '#000000',
  },
}
SCSS
$custom: #8a72ec;
$custom-light: #b19bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72ec",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 251.803,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.63256,
    "c": 0.17677,
    "h": 289.4
  },
  "luminance": 0.23494
}

Semantic roles & 50–950 ramp

primary
#8A72EC
secondary
#E8EFCB
accent
#D80DB0
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A72EC

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

Preview Lab → · Contrast checker → · Palette generator →

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