#8A72AA#8A72AA

#8A72AA is a mid, moderate violet. Relative luminance 0.203; OKLCH L 59.6% C 0.087 H 303.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8A72AA
RGBrgb(138, 114, 170)
HSLhsl(266, 25%, 56%)
HSVhsv(266, 33%, 67%)
CMYKcmyk(18.8%, 32.9%, 0%, 33.3%)
CIE-LABlab(52.22, 20.89, -26.45)
CIE-LCHlch(52.22, 33.70, 308.31°)
OKLaboklab(59.63% 0.0483 -0.0729)
OKLCHoklch(59.63% 0.087 303.5)
XYZxyz(23.7528, 20.3402, 40.6971)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72AA #92AA72
analogous
#7276AA #8A72AA #A672AA
triadic
#8A72AA #AA8A72 #72AA8A
tetradic
#8A72AA #AA7276 #92AA72 #72AAA6
square
#8A72AA #AA7276 #92AA72 #72AAA6
split-complementary
#8A72AA #AAA672 #76AA72
monochromatic
#4E3D65 #6B548B #8A72AA #AA98C1 #C9BED8

Accessibility & contrast

On white

4.14
#8A72AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#8A72AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72AA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72AA#FFFFFF#000000##000000
##8A72AA1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#667CAC
Deuteranopia (green-blind)
#6B7DA8
Tritanopia (blue-blind)
#857A86
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a72aa;
/* rgb */ color: rgb(138, 114, 170);
/* oklch */ color: oklch(59.6% 0.087 303.5);
Tailwind
colors: {
  custom: {
    50: '#ad9ac3',
    500: '#8a72aa',
    950: '#000000',
  },
}
SCSS
$custom: #8a72aa;
$custom-light: #ad9ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72aa",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 170
  },
  "hsl": {
    "h": 265.714,
    "s": 24.779,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59631,
    "c": 0.08748,
    "h": 303.5
  },
  "luminance": 0.2034
}

Semantic roles & 50–950 ramp

primary
#8A72AA
secondary
#BEC8B0
accent
#C1679A
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #8A72AA

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

Preview Lab → · Contrast checker → · Palette generator →

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