#8D7EA7#8D7EA7

#8D7EA7 is a light, moderate violet. Relative luminance 0.234; OKLCH L 62.1% C 0.063 H 301.3°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8D7EA7
RGBrgb(141, 126, 167)
HSLhsl(262, 19%, 57%)
HSVhsv(262, 25%, 65%)
CMYKcmyk(15.6%, 24.6%, 0%, 34.5%)
CIE-LABlab(55.46, 14.14, -19.71)
CIE-LCHlch(55.46, 24.26, 305.65°)
OKLaboklab(62.14% 0.0328 -0.0539)
OKLCHoklch(62.14% 0.063 301.3)
XYZxyz(25.4190, 23.3744, 39.7243)
Luminance0.2337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7EA7 #98A77E
analogous
#7E84A7 #8D7EA7 #A17EA7
triadic
#8D7EA7 #A78D7E #7EA78D
tetradic
#8D7EA7 #A77E84 #98A77E #7EA7A1
square
#8D7EA7 #A77E84 #98A77E #7EA7A1
split-complementary
#8D7EA7 #A7A17E #84A77E
monochromatic
#514565 #6E5E8A #8D7EA7 #ADA2C0 #CDC7D9

Accessibility & contrast

On white

3.70
#8D7EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#8D7EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7EA7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7EA7#FFFFFF#000000##000000
##8D7EA71.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7685A9
Deuteranopia (green-blind)
#7885A6
Tritanopia (blue-blind)
#89848C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8d7ea7;
/* rgb */ color: rgb(141, 126, 167);
/* oklch */ color: oklch(62.1% 0.063 301.3);
Tailwind
colors: {
  custom: {
    50: '#aea3c1',
    500: '#8d7ea7',
    950: '#000000',
  },
}
SCSS
$custom: #8d7ea7;
$custom-light: #aea3c1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7ea7",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 167
  },
  "hsl": {
    "h": 261.951,
    "s": 18.894,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62144,
    "c": 0.06305,
    "h": 301.3
  },
  "luminance": 0.23374
}

Semantic roles & 50–950 ramp

primary
#8D7EA7
secondary
#C3C9B8
accent
#BC6C9F
background
#FAFAFB
surface
#F4F3F7
border
#CECDD0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #8D7EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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