#8D7AB2#8D7AB2

#8D7AB2 is a mid, moderate violet. Relative luminance 0.228; OKLCH L 61.8% C 0.085 H 299.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8D7AB2
RGBrgb(141, 122, 178)
HSLhsl(260, 27%, 59%)
HSVhsv(260, 31%, 70%)
CMYKcmyk(20.8%, 31.5%, 0%, 30.2%)
CIE-LABlab(54.86, 19.05, -26.96)
CIE-LCHlch(54.86, 33.01, 305.24°)
OKLaboklab(61.83% 0.042 -0.0744)
OKLCHoklch(61.83% 0.085 299.5)
XYZxyz(25.9782, 22.7960, 45.1423)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7AB2 #9FB27A
analogous
#7A83B2 #8D7AB2 #A97AB2
triadic
#8D7AB2 #B28D7A #7AB28D
tetradic
#8D7AB2 #B27A83 #9FB27A #7AB2A9
square
#8D7AB2 #B27A83 #9FB27A #7AB2A9
split-complementary
#8D7AB2 #B2A97A #83B27A
monochromatic
#514170 #6D5897 #8D7AB2 #AEA1C8 #CFC8DF

Accessibility & contrast

On white

3.78
#8D7AB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#8D7AB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7AB2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7AB2#FFFFFF#000000##000000
##8D7AB21.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D83B4
Deuteranopia (green-blind)
#7183B0
Tritanopia (blue-blind)
#86838E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d7ab2;
/* rgb */ color: rgb(141, 122, 178);
/* oklch */ color: oklch(61.8% 0.085 299.5);
Tailwind
colors: {
  custom: {
    50: '#afa0c9',
    500: '#8d7ab2',
    950: '#000000',
  },
}
SCSS
$custom: #8d7ab2;
$custom-light: #afa0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7ab2",
  "rgb": {
    "r": 141,
    "g": 122,
    "b": 178
  },
  "hsl": {
    "h": 260.357,
    "s": 26.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.6183,
    "c": 0.08544,
    "h": 299.5
  },
  "luminance": 0.22796
}

Semantic roles & 50–950 ramp

primary
#8D7AB2
secondary
#C7CFB9
accent
#C365A3
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8D7AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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