#8A72DC#8A72DC

#8A72DC is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.3% C 0.156 H 291.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8A72DC
RGBrgb(138, 114, 220)
HSLhsl(254, 60%, 65%)
HSVhsv(254, 48%, 86%)
CMYKcmyk(37.3%, 48.2%, 0%, 13.7%)
CIE-LABlab(54.66, 33.62, -51.20)
CIE-LCHlch(54.66, 61.25, 303.29°)
OKLaboklab(62.28% 0.0574 -0.1447)
OKLCHoklch(62.28% 0.156 291.7)
XYZxyz(29.4134, 22.6045, 70.5097)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72DC #C4DC72
analogous
#728FDC #8A72DC #BF72DC
triadic
#8A72DC #DC8A72 #72DC8A
tetradic
#8A72DC #DC728F #C4DC72 #72DCBF
square
#8A72DC #DC728F #C4DC72 #72DCBF
split-complementary
#8A72DC #DCBF72 #8FDC72
monochromatic
#472AAA #6141D0 #8A72DC #B3A3E8 #DBD4F4

Accessibility & contrast

On white

3.80
#8A72DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#8A72DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72DC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72DC#FFFFFF#000000##000000
##8A72DC1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A84E0
Deuteranopia (green-blind)
#4D81DA
Tritanopia (blue-blind)
#75879D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a72dc;
/* rgb */ color: rgb(138, 114, 220);
/* oklch */ color: oklch(62.3% 0.156 291.7);
Tailwind
colors: {
  custom: {
    50: '#b09be7',
    500: '#8a72dc',
    950: '#000000',
  },
}
SCSS
$custom: #8a72dc;
$custom-light: #b09be7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72dc",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 220
  },
  "hsl": {
    "h": 253.585,
    "s": 60.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62278,
    "c": 0.15568,
    "h": 291.7
  },
  "luminance": 0.22605
}

Semantic roles & 50–950 ramp

primary
#8A72DC
secondary
#DFE7C3
accent
#C81EA1
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A72DC

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

Preview Lab → · Contrast checker → · Palette generator →

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