#8D7BAA#8D7BAA

#8D7BAA is a mid, moderate violet. Relative luminance 0.227; OKLCH L 61.7% C 0.072 H 301.9°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8D7BAA
RGBrgb(141, 123, 170)
HSLhsl(263, 22%, 57%)
HSVhsv(263, 28%, 67%)
CMYKcmyk(17.1%, 27.6%, 0%, 33.3%)
CIE-LABlab(54.79, 16.58, -22.45)
CIE-LCHlch(54.79, 27.91, 306.44°)
OKLaboklab(61.67% 0.0383 -0.0616)
OKLCHoklch(61.67% 0.073 301.9)
XYZxyz(25.3217, 22.7309, 41.0759)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7BAA #98AA7B
analogous
#7B80AA #8D7BAA #A57BAA
triadic
#8D7BAA #AA8D7B #7BAA8D
tetradic
#8D7BAA #AA7B80 #98AA7B #7BAAA5
square
#8D7BAA #AA7B80 #98AA7B #7BAAA5
split-complementary
#8D7BAA #AAA57B #80AA7B
monochromatic
#514368 #6E5B8D #8D7BAA #ADA0C2 #CDC5DA

Accessibility & contrast

On white

3.79
#8D7BAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#8D7BAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7BAA
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7BAA#FFFFFF#000000##000000
##8D7BAA1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7183AC
Deuteranopia (green-blind)
#7583A9
Tritanopia (blue-blind)
#88828C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d7baa;
/* rgb */ color: rgb(141, 123, 170);
/* oklch */ color: oklch(61.7% 0.072 301.9);
Tailwind
colors: {
  custom: {
    50: '#afa1c3',
    500: '#8d7baa',
    950: '#000000',
  },
}
SCSS
$custom: #8d7baa;
$custom-light: #afa1c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7baa",
  "rgb": {
    "r": 141,
    "g": 123,
    "b": 170
  },
  "hsl": {
    "h": 262.979,
    "s": 21.659,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61672,
    "c": 0.0725,
    "h": 301.9
  },
  "luminance": 0.22731
}

Semantic roles & 50–950 ramp

primary
#8D7BAA
secondary
#C3CAB7
accent
#BE6A9E
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100F12
muted
#7F7E81

Preview Lab

Preview with #8D7BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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