#8A7D97#8A7D97

#8A7D97 is a mid, muted violet. Relative luminance 0.223; OKLCH L 61.0% C 0.041 H 307.7°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8A7D97
RGBrgb(138, 125, 151)
HSLhsl(270, 11%, 54%)
HSVhsv(270, 17%, 59%)
CMYKcmyk(8.6%, 17.2%, 0%, 40.8%)
CIE-LABlab(54.35, 10.14, -12.16)
CIE-LCHlch(54.35, 15.83, 309.84°)
OKLaboklab(61.03% 0.0254 -0.0328)
OKLCHoklch(61.03% 0.041 307.7)
XYZxyz(23.3998, 22.3050, 32.3447)
Luminance0.2230 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7D97 #8A977D
analogous
#7D7D97 #8A7D97 #977D97
triadic
#8A7D97 #978A7D #7D978A
tetradic
#8A7D97 #977D7D #8A977D #7D9797
square
#8A7D97 #977D7D #8A977D #7D9797
split-complementary
#8A7D97 #97977D #7D977D
monochromatic
#4D4455 #6B5F77 #8A7D97 #A99FB2 #C7C1CD

Accessibility & contrast

On white

3.85
#8A7D97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#8A7D97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7D97
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7D97#FFFFFF#000000##000000
##8A7D971.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#798198
Deuteranopia (green-blind)
#7B8296
Tritanopia (blue-blind)
#888086
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a7d97;
/* rgb */ color: rgb(138, 125, 151);
/* oklch */ color: oklch(61.0% 0.041 307.7);
Tailwind
colors: {
  custom: {
    50: '#aca2b5',
    500: '#8a7d97',
    950: '#000000',
  },
}
SCSS
$custom: #8a7d97;
$custom-light: #aca2b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7d97",
  "rgb": {
    "r": 138,
    "g": 125,
    "b": 151
  },
  "hsl": {
    "h": 270,
    "s": 11.111,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61032,
    "c": 0.04148,
    "h": 307.7
  },
  "luminance": 0.22305
}

Semantic roles & 50–950 ramp

primary
#8A7D97
secondary
#B8BDB2
accent
#B47494
background
#FAFAFB
surface
#F4F3F6
border
#CECDD0
text
#100F11
muted
#7F7F80

Preview Lab

Preview with #8A7D97

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

Preview Lab → · Contrast checker → · Palette generator →

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