#8D7FA4#8D7FA4

#8D7FA4 is a light, muted violet. Relative luminance 0.235; OKLCH L 62.2% C 0.057 H 302.1°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8D7FA4
RGBrgb(141, 127, 164)
HSLhsl(263, 17%, 57%)
HSVhsv(263, 23%, 64%)
CMYKcmyk(14%, 22.6%, 0%, 35.7%)
CIE-LABlab(55.61, 12.88, -17.75)
CIE-LCHlch(55.61, 21.93, 305.96°)
OKLaboklab(62.22% 0.0303 -0.0484)
OKLCHoklch(62.22% 0.057 302.1)
XYZxyz(25.2734, 23.5218, 38.3235)
Luminance0.2352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7FA4 #96A47F
analogous
#7F84A4 #8D7FA4 #A07FA4
triadic
#8D7FA4 #A48D7F #7FA48D
tetradic
#8D7FA4 #A47F84 #96A47F #7FA4A0
square
#8D7FA4 #A47F84 #96A47F #7FA4A0
split-complementary
#8D7FA4 #A4A07F #84A47F
monochromatic
#514663 #6E5F86 #8D7FA4 #ADA3BD #CDC7D7

Accessibility & contrast

On white

3.68
#8D7FA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#8D7FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7FA4
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7FA4#FFFFFF#000000##000000
##8D7FA41.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d7fa4;
/* rgb */ color: rgb(141, 127, 164);
/* oklch */ color: oklch(62.2% 0.057 302.1);
Tailwind
colors: {
  custom: {
    50: '#aea4bf',
    500: '#8d7fa4',
    950: '#000000',
  },
}
SCSS
$custom: #8d7fa4;
$custom-light: #aea4bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7fa4",
  "rgb": {
    "r": 141,
    "g": 127,
    "b": 164
  },
  "hsl": {
    "h": 262.703,
    "s": 16.895,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62222,
    "c": 0.05706,
    "h": 302.1
  },
  "luminance": 0.23522
}

Semantic roles & 50–950 ramp

primary
#8D7FA4
secondary
#C1C7B8
accent
#BA6E9D
background
#FAFAFB
surface
#F4F4F7
border
#CECED0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #8D7FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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