#8A72ED#8A72ED

#8A72ED is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.3% C 0.178 H 289.3°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8A72ED
RGBrgb(138, 114, 237)
HSLhsl(252, 77%, 69%)
HSVhsv(252, 52%, 93%)
CMYKcmyk(41.8%, 51.9%, 0%, 7.1%)
CIE-LABlab(55.64, 38.26, -59.17)
CIE-LCHlch(55.64, 70.46, 302.89°)
OKLaboklab(63.32% 0.0588 -0.1681)
OKLCHoklch(63.32% 0.178 289.3)
XYZxyz(31.7803, 23.5513, 82.9757)
Luminance0.2355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72ED #D5ED72
analogous
#7298ED #8A72ED #C872ED
triadic
#8A72ED #ED8A72 #72ED8A
tetradic
#8A72ED #ED7298 #D5ED72 #72EDC8
square
#8A72ED #ED7298 #D5ED72 #72EDC8
split-complementary
#8A72ED #EDC872 #98ED72
monochromatic
#3C1ACB #5D3CE6 #8A72ED #B7A8F4 #E4DFFB

Accessibility & contrast

On white

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

On black

5.71
#8A72ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72ED
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72ED#FFFFFF#000000##000000
##8A72ED1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A88F1
Deuteranopia (green-blind)
#3C82EA
Tritanopia (blue-blind)
#6E8CA5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a72ed;
/* rgb */ color: rgb(138, 114, 237);
/* oklch */ color: oklch(63.3% 0.178 289.3);
Tailwind
colors: {
  custom: {
    50: '#b19bf3',
    500: '#8a72ed',
    950: '#000000',
  },
}
SCSS
$custom: #8a72ed;
$custom-light: #b19bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72ed",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 237
  },
  "hsl": {
    "h": 251.707,
    "s": 77.358,
    "l": 68.824
  },
  "oklch": {
    "l": 0.63319,
    "c": 0.17807,
    "h": 289.3
  },
  "luminance": 0.23552
}

Semantic roles & 50–950 ramp

primary
#8A72ED
secondary
#E8F0CB
accent
#DA0CB1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A72ED

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

Preview Lab → · Contrast checker → · Palette generator →

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