#8D7BAB#8D7BAB

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

Color values

HEX#8D7BAB
RGBrgb(141, 123, 171)
HSLhsl(263, 22%, 58%)
HSVhsv(263, 28%, 67%)
CMYKcmyk(17.5%, 28.1%, 0%, 32.9%)
CIE-LABlab(54.83, 16.81, -22.97)
CIE-LCHlch(54.83, 28.47, 306.20°)
OKLaboklab(61.72% 0.0386 -0.063)
OKLCHoklch(61.72% 0.074 301.5)
XYZxyz(25.4166, 22.7689, 41.5760)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7BAB #99AB7B
analogous
#7B81AB #8D7BAB #A57BAB
triadic
#8D7BAB #AB8D7B #7BAB8D
tetradic
#8D7BAB #AB7B81 #99AB7B #7BABA5
square
#8D7BAB #AB7B81 #99AB7B #7BABA5
split-complementary
#8D7BAB #ABA57B #81AB7B
monochromatic
#514369 #6E5B8E #8D7BAB #ADA0C3 #CEC6DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D7BAB#FFFFFF#000000##000000
##8D7BAB1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7183AD
Deuteranopia (green-blind)
#7483AA
Tritanopia (blue-blind)
#88828C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d7bab;
/* rgb */ color: rgb(141, 123, 171);
/* oklch */ color: oklch(61.7% 0.074 301.5);
Tailwind
colors: {
  custom: {
    50: '#afa1c4',
    500: '#8d7bab',
    950: '#000000',
  },
}
SCSS
$custom: #8d7bab;
$custom-light: #afa1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7bab",
  "rgb": {
    "r": 141,
    "g": 123,
    "b": 171
  },
  "hsl": {
    "h": 262.5,
    "s": 22.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61715,
    "c": 0.0739,
    "h": 301.5
  },
  "luminance": 0.22769
}

Semantic roles & 50–950 ramp

primary
#8D7BAB
secondary
#C3CBB7
accent
#BF699F
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100F12
muted
#7F7E81

Preview Lab

Preview with #8D7BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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