#8D7FA2#8D7FA2

#8D7FA2 is a light, muted violet. Relative luminance 0.234; OKLCH L 62.1% C 0.054 H 303.1°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8D7FA2
RGBrgb(141, 127, 162)
HSLhsl(264, 16%, 57%)
HSVhsv(264, 22%, 64%)
CMYKcmyk(13%, 21.6%, 0%, 36.5%)
CIE-LABlab(55.53, 12.43, -16.71)
CIE-LCHlch(55.53, 20.82, 306.65°)
OKLaboklab(62.14% 0.0296 -0.0454)
OKLCHoklch(62.14% 0.054 303.1)
XYZxyz(25.0942, 23.4501, 37.3797)
Luminance0.2345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7FA2 #94A27F
analogous
#7F83A2 #8D7FA2 #9F7FA2
triadic
#8D7FA2 #A28D7F #7FA28D
tetradic
#8D7FA2 #A27F83 #94A27F #7FA29F
square
#8D7FA2 #A27F83 #94A27F #7FA29F
split-complementary
#8D7FA2 #A29F7F #83A27F
monochromatic
#514660 #6E6084 #8D7FA2 #ADA2BC #CCC6D6

Accessibility & contrast

On white

3.69
#8D7FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8D7FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7FA2
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7FA2#FFFFFF#000000##000000
##8D7FA21.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7985A4
Deuteranopia (green-blind)
#7B85A1
Tritanopia (blue-blind)
#8A848B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8d7fa2;
/* rgb */ color: rgb(141, 127, 162);
/* oklch */ color: oklch(62.1% 0.054 303.1);
Tailwind
colors: {
  custom: {
    50: '#aea4bd',
    500: '#8d7fa2',
    950: '#000000',
  },
}
SCSS
$custom: #8d7fa2;
$custom-light: #aea4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7fa2",
  "rgb": {
    "r": 141,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 264,
    "s": 15.837,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62142,
    "c": 0.05424,
    "h": 303.1
  },
  "luminance": 0.2345
}

Semantic roles & 50–950 ramp

primary
#8D7FA2
secondary
#C0C6B7
accent
#B96F9B
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #8D7FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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