#8A72D2#8A72D2

#8A72D2 is a mid, vivid violet. Relative luminance 0.221; OKLCH L 61.7% C 0.142 H 293.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8A72D2
RGBrgb(138, 114, 210)
HSLhsl(255, 52%, 64%)
HSVhsv(255, 46%, 82%)
CMYKcmyk(34.3%, 45.7%, 0%, 17.6%)
CIE-LABlab(54.12, 30.95, -46.41)
CIE-LCHlch(54.12, 55.78, 303.70°)
OKLaboklab(61.7% 0.0563 -0.1307)
OKLCHoklch(61.7% 0.142 293.3)
XYZxyz(28.1284, 22.0905, 63.7422)
Luminance0.2209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72D2 #BAD272
analogous
#728AD2 #8A72D2 #BA72D2
triadic
#8A72D2 #D28A72 #72D28A
tetradic
#8A72D2 #D2728A #BAD272 #72D2BA
square
#8A72D2 #D2728A #BAD272 #72D2BA
split-complementary
#8A72D2 #D2BA72 #8AD272
monochromatic
#4B3199 #6444C3 #8A72D2 #B0A0E1 #D7CFF0

Accessibility & contrast

On white

3.88
#8A72D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#8A72D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72D2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72D2#FFFFFF#000000##000000
##8A72D21.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5283D5
Deuteranopia (green-blind)
#5580D0
Tritanopia (blue-blind)
#798498
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a72d2;
/* rgb */ color: rgb(138, 114, 210);
/* oklch */ color: oklch(61.7% 0.142 293.3);
Tailwind
colors: {
  custom: {
    50: '#af9be0',
    500: '#8a72d2',
    950: '#000000',
  },
}
SCSS
$custom: #8a72d2;
$custom-light: #af9be0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72d2",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 210
  },
  "hsl": {
    "h": 255,
    "s": 51.613,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61697,
    "c": 0.14227,
    "h": 293.3
  },
  "luminance": 0.22091
}

Semantic roles & 50–950 ramp

primary
#8A72D2
secondary
#D8E1BF
accent
#BF2699
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A72D2

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

Preview Lab → · Contrast checker → · Palette generator →

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