#8A72AF#8A72AF

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

Color values

HEX#8A72AF
RGBrgb(138, 114, 175)
HSLhsl(264, 28%, 57%)
HSVhsv(264, 35%, 69%)
CMYKcmyk(21.1%, 34.9%, 0%, 31.4%)
CIE-LABlab(52.43, 22.08, -29.01)
CIE-LCHlch(52.43, 36.46, 307.27°)
OKLaboklab(59.87% 0.0496 -0.0803)
OKLCHoklch(59.87% 0.094 301.7)
XYZxyz(24.2348, 20.5330, 43.2356)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72AF #97AF72
analogous
#7279AF #8A72AF #A972AF
triadic
#8A72AF #AF8A72 #72AF8A
tetradic
#8A72AF #AF7279 #97AF72 #72AFA9
square
#8A72AF #AF7279 #97AF72 #72AFA9
split-complementary
#8A72AF #AFA972 #79AF72
monochromatic
#4E3C6A #6B5291 #8A72AF #AA99C5 #CBC0DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A72AF#FFFFFF#000000##000000
##8A72AF1.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)
#647DB1
Deuteranopia (green-blind)
#697DAD
Tritanopia (blue-blind)
#847C88
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a72af;
/* rgb */ color: rgb(138, 114, 175);
/* oklch */ color: oklch(59.9% 0.094 301.7);
Tailwind
colors: {
  custom: {
    50: '#ad9ac7',
    500: '#8a72af',
    950: '#000000',
  },
}
SCSS
$custom: #8a72af;
$custom-light: #ad9ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72af",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 175
  },
  "hsl": {
    "h": 263.607,
    "s": 27.602,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59866,
    "c": 0.09435,
    "h": 301.7
  },
  "luminance": 0.20533
}

Semantic roles & 50–950 ramp

primary
#8A72AF
secondary
#C1CBB2
accent
#C4649E
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8A72AF

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

Preview Lab → · Contrast checker → · Palette generator →

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