#8A72B0#8A72B0

#8A72B0 is a mid, moderate violet. Relative luminance 0.206; OKLCH L 59.9% C 0.096 H 301.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8A72B0
RGBrgb(138, 114, 176)
HSLhsl(263, 28%, 57%)
HSVhsv(263, 35%, 69%)
CMYKcmyk(21.6%, 35.2%, 0%, 31%)
CIE-LABlab(52.48, 22.32, -29.52)
CIE-LCHlch(52.48, 37.01, 307.09°)
OKLaboklab(59.91% 0.0498 -0.0817)
OKLCHoklch(59.91% 0.096 301.4)
XYZxyz(24.3333, 20.5725, 43.7548)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72B0 #98B072
analogous
#7279B0 #8A72B0 #A972B0
triadic
#8A72B0 #B08A72 #72B08A
tetradic
#8A72B0 #B07279 #98B072 #72B0A9
square
#8A72B0 #B07279 #98B072 #72B0A9
split-complementary
#8A72B0 #B0A972 #79B072
monochromatic
#4E3C6B #6B5293 #8A72B0 #AB99C6 #CBC0DC

Accessibility & contrast

On white

4.11
#8A72B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#8A72B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72B0
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72B0#FFFFFF#000000##000000
##8A72B01.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#647DB2
Deuteranopia (green-blind)
#687DAE
Tritanopia (blue-blind)
#837C89
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a72b0;
/* rgb */ color: rgb(138, 114, 176);
/* oklch */ color: oklch(59.9% 0.096 301.4);
Tailwind
colors: {
  custom: {
    50: '#ad9ac8',
    500: '#8a72b0',
    950: '#000000',
  },
}
SCSS
$custom: #8a72b0;
$custom-light: #ad9ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72b0",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 176
  },
  "hsl": {
    "h": 263.226,
    "s": 28.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59914,
    "c": 0.09574,
    "h": 301.4
  },
  "luminance": 0.20572
}

Semantic roles & 50–950 ramp

primary
#8A72B0
secondary
#C2CCB2
accent
#C4639F
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8A72B0

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

Preview Lab → · Contrast checker → · Palette generator →

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