#8A72A8#8A72A8

#8A72A8 is a mid, moderate violet. Relative luminance 0.203; OKLCH L 59.5% C 0.085 H 304.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8A72A8
RGBrgb(138, 114, 168)
HSLhsl(267, 24%, 55%)
HSVhsv(267, 32%, 66%)
CMYKcmyk(17.9%, 32.1%, 0%, 34.1%)
CIE-LABlab(52.14, 20.42, -25.42)
CIE-LCHlch(52.14, 32.60, 308.78°)
OKLaboklab(59.54% 0.0478 -0.07)
OKLCHoklch(59.54% 0.085 304.3)
XYZxyz(23.5650, 20.2651, 39.7083)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72A8 #90A872
analogous
#7275A8 #8A72A8 #A572A8
triadic
#8A72A8 #A88A72 #72A88A
tetradic
#8A72A8 #A87275 #90A872 #72A8A5
square
#8A72A8 #A87275 #90A872 #72A8A5
split-complementary
#8A72A8 #A8A572 #75A872
monochromatic
#4E3D63 #6B5489 #8A72A8 #A998BF #C9BED7

Accessibility & contrast

On white

4.16
#8A72A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#8A72A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72A8
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72A8#FFFFFF#000000##000000
##8A72A81.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#677CAA
Deuteranopia (green-blind)
#6C7CA6
Tritanopia (blue-blind)
#857A86
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a72a8;
/* rgb */ color: rgb(138, 114, 168);
/* oklch */ color: oklch(59.5% 0.085 304.3);
Tailwind
colors: {
  custom: {
    50: '#ad9ac2',
    500: '#8a72a8',
    950: '#000000',
  },
}
SCSS
$custom: #8a72a8;
$custom-light: #ad9ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72a8",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 168
  },
  "hsl": {
    "h": 266.667,
    "s": 23.684,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59539,
    "c": 0.08474,
    "h": 304.3
  },
  "luminance": 0.20265
}

Semantic roles & 50–950 ramp

primary
#8A72A8
secondary
#BCC6B0
accent
#C06899
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #8A72A8

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

Preview Lab → · Contrast checker → · Palette generator →

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