#8A72A7#8A72A7

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

Color values

HEX#8A72A7
RGBrgb(138, 114, 167)
HSLhsl(267, 23%, 55%)
HSVhsv(267, 32%, 65%)
CMYKcmyk(17.4%, 31.7%, 0%, 34.5%)
CIE-LABlab(52.09, 20.19, -24.90)
CIE-LCHlch(52.09, 32.05, 309.03°)
OKLaboklab(59.49% 0.0475 -0.0685)
OKLCHoklch(59.49% 0.083 304.7)
XYZxyz(23.4722, 20.2280, 39.2196)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72A7 #8FA772
analogous
#7274A7 #8A72A7 #A472A7
triadic
#8A72A7 #A78A72 #72A78A
tetradic
#8A72A7 #A77274 #8FA772 #72A7A4
square
#8A72A7 #A77274 #8FA772 #72A7A4
split-complementary
#8A72A7 #A7A472 #74A772
monochromatic
#4E3D62 #6C5487 #8A72A7 #A998BF #C9BDD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A72A7#FFFFFF#000000##000000
##8A72A71.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)
#677BA9
Deuteranopia (green-blind)
#6C7CA5
Tritanopia (blue-blind)
#867A85
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a72a7;
/* rgb */ color: rgb(138, 114, 167);
/* oklch */ color: oklch(59.5% 0.083 304.7);
Tailwind
colors: {
  custom: {
    50: '#ad9ac1',
    500: '#8a72a7',
    950: '#000000',
  },
}
SCSS
$custom: #8a72a7;
$custom-light: #ad9ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72a7",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 167
  },
  "hsl": {
    "h": 267.17,
    "s": 23.144,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59494,
    "c": 0.08337,
    "h": 304.7
  },
  "luminance": 0.20228
}

Semantic roles & 50–950 ramp

primary
#8A72A7
secondary
#BBC6AF
accent
#C06898
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #8A72A7

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

Preview Lab → · Contrast checker → · Palette generator →

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