#8D7EBD#8D7EBD

#8D7EBD is a light, moderate violet. Relative luminance 0.243; OKLCH L 63.1% C 0.094 H 294.5°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8D7EBD
RGBrgb(141, 126, 189)
HSLhsl(254, 32%, 62%)
HSVhsv(254, 33%, 74%)
CMYKcmyk(25.4%, 33.3%, 0%, 25.9%)
CIE-LABlab(56.35, 19.38, -30.95)
CIE-LCHlch(56.35, 36.52, 302.05°)
OKLaboklab(63.12% 0.0391 -0.0858)
OKLCHoklch(63.12% 0.094 294.5)
XYZxyz(27.6285, 24.2582, 51.3610)
Luminance0.2426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7EBD #AEBD7E
analogous
#7E8FBD #8D7EBD #AD7EBD
triadic
#8D7EBD #BD8D7E #7EBD8D
tetradic
#8D7EBD #BD7E8F #AEBD7E #7EBDAD
square
#8D7EBD #BD7E8F #AEBD7E #7EBDAD
split-complementary
#8D7EBD #BDAD7E #8FBD7E
monochromatic
#50417F #6956A8 #8D7EBD #B1A6D2 #D5CFE6

Accessibility & contrast

On white

3.59
#8D7EBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#8D7EBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7EBD
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7EBD#FFFFFF#000000##000000
##8D7EBD1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E88C0
Deuteranopia (green-blind)
#7086BB
Tritanopia (blue-blind)
#838995
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d7ebd;
/* rgb */ color: rgb(141, 126, 189);
/* oklch */ color: oklch(63.1% 0.094 294.5);
Tailwind
colors: {
  custom: {
    50: '#afa3d1',
    500: '#8d7ebd',
    950: '#000000',
  },
}
SCSS
$custom: #8d7ebd;
$custom-light: #afa3d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7ebd",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 189
  },
  "hsl": {
    "h": 254.286,
    "s": 32.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63121,
    "c": 0.09432,
    "h": 294.5
  },
  "luminance": 0.24259
}

Semantic roles & 50–950 ramp

primary
#8D7EBD
secondary
#D2D7C0
accent
#AB3A90
background
#FAFAFC
surface
#F5F3F9
border
#CFCDD2
text
#100F14
muted
#7F7F82

Preview Lab

Preview with #8D7EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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