#8A72B1#8A72B1

#8A72B1 is a mid, moderate violet. Relative luminance 0.206; OKLCH L 60.0% C 0.097 H 301.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8A72B1
RGBrgb(138, 114, 177)
HSLhsl(263, 29%, 57%)
HSVhsv(263, 36%, 69%)
CMYKcmyk(22%, 35.6%, 0%, 30.6%)
CIE-LABlab(52.52, 22.56, -30.03)
CIE-LCHlch(52.52, 37.56, 306.92°)
OKLaboklab(59.96% 0.0501 -0.0832)
OKLCHoklch(59.96% 0.097 301)
XYZxyz(24.4326, 20.6122, 44.2778)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72B1 #99B172
analogous
#727AB1 #8A72B1 #AA72B1
triadic
#8A72B1 #B18A72 #72B18A
tetradic
#8A72B1 #B1727A #99B172 #72B1AA
square
#8A72B1 #B1727A #99B172 #72B1AA
split-complementary
#8A72B1 #B1AA72 #7AB172
monochromatic
#4F3C6D #6B5294 #8A72B1 #AB99C7 #CBC1DD

Accessibility & contrast

On white

4.10
#8A72B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#8A72B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72B1
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72B1#FFFFFF#000000##000000
##8A72B11.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#637DB3
Deuteranopia (green-blind)
#687DAF
Tritanopia (blue-blind)
#837C89
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a72b1;
/* rgb */ color: rgb(138, 114, 177);
/* oklch */ color: oklch(60.0% 0.097 301.0);
Tailwind
colors: {
  custom: {
    50: '#ad9ac8',
    500: '#8a72b1',
    950: '#000000',
  },
}
SCSS
$custom: #8a72b1;
$custom-light: #ad9ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72b1",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 177
  },
  "hsl": {
    "h": 262.857,
    "s": 28.767,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59962,
    "c": 0.09711,
    "h": 301
  },
  "luminance": 0.20612
}

Semantic roles & 50–950 ramp

primary
#8A72B1
secondary
#C2CCB3
accent
#C563A0
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8A72B1

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

Preview Lab → · Contrast checker → · Palette generator →

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