#8A72B9#8A72B9

#8A72B9 is a mid, moderate violet. Relative luminance 0.209; OKLCH L 60.4% C 0.108 H 298.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8A72B9
RGBrgb(138, 114, 185)
HSLhsl(260, 34%, 59%)
HSVhsv(260, 38%, 73%)
CMYKcmyk(25.4%, 38.4%, 0%, 27.5%)
CIE-LABlab(52.88, 24.52, -34.08)
CIE-LCHlch(52.88, 41.99, 305.74°)
OKLaboklab(60.36% 0.0519 -0.0949)
OKLCHoklch(60.36% 0.108 298.7)
XYZxyz(25.2535, 20.9405, 48.6010)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72B9 #A1B972
analogous
#727DB9 #8A72B9 #AD72B9
triadic
#8A72B9 #B98A72 #72B98A
tetradic
#8A72B9 #B9727D #A1B972 #72B9AD
square
#8A72B9 #B9727D #A1B972 #72B9AD
split-complementary
#8A72B9 #B9AD72 #7DB972
monochromatic
#4F3B76 #6A4F9F #8A72B9 #AC9BCD #CEC4E2

Accessibility & contrast

On white

4.05
#8A72B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#8A72B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72B9
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72B9#FFFFFF#000000##000000
##8A72B91.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#607EBC
Deuteranopia (green-blind)
#647EB7
Tritanopia (blue-blind)
#817E8D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a72b9;
/* rgb */ color: rgb(138, 114, 185);
/* oklch */ color: oklch(60.4% 0.108 298.7);
Tailwind
colors: {
  custom: {
    50: '#ad9ace',
    500: '#8a72b9',
    950: '#000000',
  },
}
SCSS
$custom: #8a72b9;
$custom-light: #ad9ace;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72b9",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 185
  },
  "hsl": {
    "h": 260.282,
    "s": 33.649,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60356,
    "c": 0.10814,
    "h": 298.7
  },
  "luminance": 0.20941
}

Semantic roles & 50–950 ramp

primary
#8A72B9
secondary
#C8D1B5
accent
#CA5EA5
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8A72B9

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

Preview Lab → · Contrast checker → · Palette generator →

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