#8A72A2#8A72A2

#8A72A2 is a mid, moderate violet. Relative luminance 0.200; OKLCH L 59.3% C 0.077 H 307.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8A72A2
RGBrgb(138, 114, 162)
HSLhsl(270, 21%, 54%)
HSVhsv(270, 30%, 64%)
CMYKcmyk(14.8%, 29.6%, 0%, 36.5%)
CIE-LABlab(51.89, 19.03, -22.30)
CIE-LCHlch(51.89, 29.32, 310.48°)
OKLaboklab(59.27% 0.0461 -0.0611)
OKLCHoklch(59.27% 0.077 307)
XYZxyz(23.0189, 20.0467, 36.8321)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72A2 #8AA272
analogous
#7272A2 #8A72A2 #A272A2
triadic
#8A72A2 #A28A72 #72A28A
tetradic
#8A72A2 #A27272 #8AA272 #72A2A2
square
#8A72A2 #A27272 #8AA272 #72A2A2
split-complementary
#8A72A2 #A2A272 #72A272
monochromatic
#4D3D5D #6B5581 #8A72A2 #A997BA #C7BCD3

Accessibility & contrast

On white

4.19
#8A72A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8A72A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72A2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72A2#FFFFFF#000000##000000
##8A72A21.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#697BA4
Deuteranopia (green-blind)
#6E7CA1
Tritanopia (blue-blind)
#877983
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a72a2;
/* rgb */ color: rgb(138, 114, 162);
/* oklch */ color: oklch(59.3% 0.077 307.0);
Tailwind
colors: {
  custom: {
    50: '#ac9abd',
    500: '#8a72a2',
    950: '#000000',
  },
}
SCSS
$custom: #8a72a2;
$custom-light: #ac9abd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72a2",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 162
  },
  "hsl": {
    "h": 270,
    "s": 20.513,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5927,
    "c": 0.07657,
    "h": 307
  },
  "luminance": 0.20047
}

Semantic roles & 50–950 ramp

primary
#8A72A2
secondary
#B8C2AE
accent
#BD6B94
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #8A72A2

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

Preview Lab → · Contrast checker → · Palette generator →

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