#8D7BA3#8D7BA3

#8D7BA3 is a mid, moderate violet. Relative luminance 0.225; OKLCH L 61.4% C 0.063 H 305.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8D7BA3
RGBrgb(141, 123, 163)
HSLhsl(267, 18%, 56%)
HSVhsv(267, 25%, 64%)
CMYKcmyk(13.5%, 24.5%, 0%, 36.1%)
CIE-LABlab(54.53, 14.99, -18.82)
CIE-LCHlch(54.53, 24.06, 308.53°)
OKLaboklab(61.38% 0.0361 -0.0513)
OKLCHoklch(61.38% 0.063 305.1)
XYZxyz(24.6771, 22.4731, 37.6809)
Luminance0.2247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7BA3 #91A37B
analogous
#7B7DA3 #8D7BA3 #A17BA3
triadic
#8D7BA3 #A38D7B #7BA38D
tetradic
#8D7BA3 #A37B7D #91A37B #7BA3A1
square
#8D7BA3 #A37B7D #91A37B #7BA3A1
split-complementary
#8D7BA3 #A3A17B #7DA37B
monochromatic
#504360 #6E5C84 #8D7BA3 #AC9FBC #CBC3D5

Accessibility & contrast

On white

3.82
#8D7BA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#8D7BA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7BA3
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7BA3#FFFFFF#000000##000000
##8D7BA31.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7482A5
Deuteranopia (green-blind)
#7783A2
Tritanopia (blue-blind)
#8A8089
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8d7ba3;
/* rgb */ color: rgb(141, 123, 163);
/* oklch */ color: oklch(61.4% 0.063 305.1);
Tailwind
colors: {
  custom: {
    50: '#aea1be',
    500: '#8d7ba3',
    950: '#000000',
  },
}
SCSS
$custom: #8d7ba3;
$custom-light: #aea1be;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7ba3",
  "rgb": {
    "r": 141,
    "g": 123,
    "b": 163
  },
  "hsl": {
    "h": 267,
    "s": 17.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61376,
    "c": 0.06275,
    "h": 305.1
  },
  "luminance": 0.22473
}

Semantic roles & 50–950 ramp

primary
#8D7BA3
secondary
#BEC5B5
accent
#BB6D98
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100F12
muted
#7F7E81

Preview Lab

Preview with #8D7BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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