#8D7A9E#8D7A9E

#8D7A9E is a mid, muted violet. Relative luminance 0.221; OKLCH L 61.0% C 0.058 H 308.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8D7A9E
RGBrgb(141, 122, 158)
HSLhsl(272, 16%, 55%)
HSVhsv(272, 23%, 62%)
CMYKcmyk(10.8%, 22.8%, 0%, 38%)
CIE-LABlab(54.08, 14.46, -16.60)
CIE-LCHlch(54.08, 22.01, 311.06°)
OKLaboklab(60.97% 0.036 -0.0451)
OKLCHoklch(60.97% 0.058 308.6)
XYZxyz(24.1145, 22.0506, 35.3269)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7A9E #8B9E7A
analogous
#7B7A9E #8D7A9E #9E7A9D
triadic
#8D7A9E #9E8D7A #7A9E8D
tetradic
#8D7A9E #9E7B7A #8B9E7A #7A9D9E
square
#8D7A9E #9E7B7A #8B9E7A #7A9D9E
split-complementary
#8D7A9E #9D9E7A #7A9E7B
monochromatic
#4F425B #6E5C7F #8D7A9E #AB9DB8 #CAC1D2

Accessibility & contrast

On white

3.88
#8D7A9E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#8D7A9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7A9E
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7A9E#FFFFFF#000000##000000
##8D7A9E1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7480A0
Deuteranopia (green-blind)
#78829D
Tritanopia (blue-blind)
#8B7F86
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8d7a9e;
/* rgb */ color: rgb(141, 122, 158);
/* oklch */ color: oklch(61.0% 0.058 308.6);
Tailwind
colors: {
  custom: {
    50: '#aea0ba',
    500: '#8d7a9e',
    950: '#000000',
  },
}
SCSS
$custom: #8d7a9e;
$custom-light: #aea0ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7a9e",
  "rgb": {
    "r": 141,
    "g": 122,
    "b": 158
  },
  "hsl": {
    "h": 271.667,
    "s": 15.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60972,
    "c": 0.05773,
    "h": 308.6
  },
  "luminance": 0.2205
}

Semantic roles & 50–950 ramp

primary
#8D7A9E
secondary
#B9C1B2
accent
#B86F92
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80

Preview Lab

Preview with #8D7A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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