#8D7EA0#8D7EA0

#8D7EA0 is a mid, muted violet. Relative luminance 0.231; OKLCH L 61.9% C 0.053 H 304.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8D7EA0
RGBrgb(141, 126, 160)
HSLhsl(266, 15%, 56%)
HSVhsv(266, 21%, 63%)
CMYKcmyk(11.9%, 21.2%, 0%, 37.3%)
CIE-LABlab(55.20, 12.57, -16.06)
CIE-LCHlch(55.20, 20.39, 308.04°)
OKLaboklab(61.86% 0.0305 -0.0436)
OKLCHoklch(61.86% 0.053 304.9)
XYZxyz(24.7893, 23.1226, 36.4080)
Luminance0.2312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7EA0 #91A07E
analogous
#7E80A0 #8D7EA0 #9E7EA0
triadic
#8D7EA0 #A08D7E #7EA08D
tetradic
#8D7EA0 #A07E80 #91A07E #7EA09E
square
#8D7EA0 #A07E80 #91A07E #7EA09E
split-complementary
#8D7EA0 #A09E7E #80A07E
monochromatic
#50455E #6E5F81 #8D7EA0 #ACA1BA #CBC4D4

Accessibility & contrast

On white

3.73
#8D7EA0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#8D7EA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7EA0
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7EA0#FFFFFF#000000##000000
##8D7EA01.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7884A1
Deuteranopia (green-blind)
#7B849F
Tritanopia (blue-blind)
#8A838A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8d7ea0;
/* rgb */ color: rgb(141, 126, 160);
/* oklch */ color: oklch(61.9% 0.053 304.9);
Tailwind
colors: {
  custom: {
    50: '#aea3bc',
    500: '#8d7ea0',
    950: '#000000',
  },
}
SCSS
$custom: #8d7ea0;
$custom-light: #aea3bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7ea0",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 160
  },
  "hsl": {
    "h": 266.471,
    "s": 15.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61859,
    "c": 0.05322,
    "h": 304.9
  },
  "luminance": 0.23122
}

Semantic roles & 50–950 ramp

primary
#8D7EA0
secondary
#BEC4B6
accent
#B87098
background
#FAFAFB
surface
#F4F3F6
border
#CECDD0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #8D7EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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