#8D7EA5#8D7EA5

#8D7EA5 is a light, moderate violet. Relative luminance 0.233; OKLCH L 62.1% C 0.060 H 302.3°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8D7EA5
RGBrgb(141, 126, 165)
HSLhsl(263, 18%, 57%)
HSVhsv(263, 24%, 65%)
CMYKcmyk(14.5%, 23.6%, 0%, 35.3%)
CIE-LABlab(55.38, 13.69, -18.67)
CIE-LCHlch(55.38, 23.15, 306.24°)
OKLaboklab(62.06% 0.0321 -0.0509)
OKLCHoklch(62.06% 0.06 302.3)
XYZxyz(25.2355, 23.3010, 38.7581)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7EA5 #96A57E
analogous
#7E83A5 #8D7EA5 #A17EA5
triadic
#8D7EA5 #A58D7E #7EA58D
tetradic
#8D7EA5 #A57E83 #96A57E #7EA5A1
square
#8D7EA5 #A57E83 #96A57E #7EA5A1
split-complementary
#8D7EA5 #A5A17E #83A57E
monochromatic
#514563 #6E5E87 #8D7EA5 #ADA2BE #CDC6D7

Accessibility & contrast

On white

3.71
#8D7EA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#8D7EA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7EA5
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7EA5#FFFFFF#000000##000000
##8D7EA51.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7784A7
Deuteranopia (green-blind)
#7985A4
Tritanopia (blue-blind)
#89848B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8d7ea5;
/* rgb */ color: rgb(141, 126, 165);
/* oklch */ color: oklch(62.1% 0.060 302.3);
Tailwind
colors: {
  custom: {
    50: '#aea3bf',
    500: '#8d7ea5',
    950: '#000000',
  },
}
SCSS
$custom: #8d7ea5;
$custom-light: #aea3bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7ea5",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 165
  },
  "hsl": {
    "h": 263.077,
    "s": 17.808,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62061,
    "c": 0.06022,
    "h": 302.3
  },
  "luminance": 0.23301
}

Semantic roles & 50–950 ramp

primary
#8D7EA5
secondary
#C1C7B7
accent
#BA6D9D
background
#FAFAFB
surface
#F4F3F7
border
#CECDD0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #8D7EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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