#8A72BC#8A72BC

#8A72BC is a mid, moderate violet. Relative luminance 0.211; OKLCH L 60.5% C 0.112 H 297.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8A72BC
RGBrgb(138, 114, 188)
HSLhsl(259, 36%, 59%)
HSVhsv(259, 39%, 74%)
CMYKcmyk(26.6%, 39.4%, 0%, 26.3%)
CIE-LABlab(53.02, 25.27, -35.59)
CIE-LCHlch(53.02, 43.65, 305.38°)
OKLaboklab(60.51% 0.0525 -0.0992)
OKLCHoklch(60.51% 0.112 297.9)
XYZxyz(25.5735, 21.0685, 50.2865)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72BC #A4BC72
analogous
#727FBC #8A72BC #AF72BC
triadic
#8A72BC #BC8A72 #72BC8A
tetradic
#8A72BC #BC727F #A4BC72 #72BCAF
square
#8A72BC #BC727F #A4BC72 #72BCAF
split-complementary
#8A72BC #BCAF72 #7FBC72
monochromatic
#4F3A7A #694EA3 #8A72BC #AC9BD0 #CFC5E3

Accessibility & contrast

On white

4.03
#8A72BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#8A72BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72BC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72BC#FFFFFF#000000##000000
##8A72BC1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7FBF
Deuteranopia (green-blind)
#637EBA
Tritanopia (blue-blind)
#807F8E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a72bc;
/* rgb */ color: rgb(138, 114, 188);
/* oklch */ color: oklch(60.5% 0.112 297.9);
Tailwind
colors: {
  custom: {
    50: '#ae9ad0',
    500: '#8a72bc',
    950: '#000000',
  },
}
SCSS
$custom: #8a72bc;
$custom-light: #ae9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72bc",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 188
  },
  "hsl": {
    "h": 259.459,
    "s": 35.577,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60508,
    "c": 0.11227,
    "h": 297.9
  },
  "luminance": 0.21069
}

Semantic roles & 50–950 ramp

primary
#8A72BC
secondary
#CAD3B6
accent
#CC5CA7
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A72BC

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

Preview Lab → · Contrast checker → · Palette generator →

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