#8A72D0#8A72D0

#8A72D0 is a mid, vivid violet. Relative luminance 0.220; OKLCH L 61.6% C 0.140 H 293.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8A72D0
RGBrgb(138, 114, 208)
HSLhsl(255, 50%, 63%)
HSVhsv(255, 45%, 82%)
CMYKcmyk(33.7%, 45.2%, 0%, 18.4%)
CIE-LABlab(54.02, 30.42, -45.44)
CIE-LCHlch(54.02, 54.68, 303.80°)
OKLaboklab(61.58% 0.056 -0.1279)
OKLCHoklch(61.58% 0.14 293.6)
XYZxyz(27.8808, 21.9914, 62.4381)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72D0 #B8D072
analogous
#7289D0 #8A72D0 #B972D0
triadic
#8A72D0 #D08A72 #72D08A
tetradic
#8A72D0 #D07289 #B8D072 #72D0B9
square
#8A72D0 #D07289 #B8D072 #72D0B9
split-complementary
#8A72D0 #D0B972 #89D072
monochromatic
#4B3296 #6444C1 #8A72D0 #B0A0DF #D6CEEF

Accessibility & contrast

On white

3.89
#8A72D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#8A72D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72D0
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72D0#FFFFFF#000000##000000
##8A72D01.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5382D3
Deuteranopia (green-blind)
#5780CE
Tritanopia (blue-blind)
#7A8497
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a72d0;
/* rgb */ color: rgb(138, 114, 208);
/* oklch */ color: oklch(61.6% 0.140 293.6);
Tailwind
colors: {
  custom: {
    50: '#af9bdf',
    500: '#8a72d0',
    950: '#000000',
  },
}
SCSS
$custom: #8a72d0;
$custom-light: #af9bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72d0",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 208
  },
  "hsl": {
    "h": 255.319,
    "s": 50,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61584,
    "c": 0.13958,
    "h": 293.6
  },
  "luminance": 0.21992
}

Semantic roles & 50–950 ramp

primary
#8A72D0
secondary
#D7E0BE
accent
#BD2897
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A72D0

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

Preview Lab → · Contrast checker → · Palette generator →

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