#8D7EA2#8D7EA2

#8D7EA2 is a mid, muted violet. Relative luminance 0.232; OKLCH L 61.9% C 0.056 H 303.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8D7EA2
RGBrgb(141, 126, 162)
HSLhsl(265, 16%, 56%)
HSVhsv(265, 22%, 64%)
CMYKcmyk(13%, 22.2%, 0%, 36.5%)
CIE-LABlab(55.27, 13.01, -17.11)
CIE-LCHlch(55.27, 21.49, 307.26°)
OKLaboklab(61.94% 0.0312 -0.0465)
OKLCHoklch(61.94% 0.056 303.8)
XYZxyz(24.9657, 23.1931, 37.3369)
Luminance0.2319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7EA2 #93A27E
analogous
#7E81A2 #8D7EA2 #9F7EA2
triadic
#8D7EA2 #A28D7E #7EA28D
tetradic
#8D7EA2 #A27E81 #93A27E #7EA29F
square
#8D7EA2 #A27E81 #93A27E #7EA29F
split-complementary
#8D7EA2 #A29F7E #81A27E
monochromatic
#514560 #6E5F84 #8D7EA2 #ACA2BC #CCC5D5

Accessibility & contrast

On white

3.72
#8D7EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#8D7EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7EA2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7EA2#FFFFFF#000000##000000
##8D7EA21.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7884A4
Deuteranopia (green-blind)
#7A84A1
Tritanopia (blue-blind)
#8A838A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8d7ea2;
/* rgb */ color: rgb(141, 126, 162);
/* oklch */ color: oklch(61.9% 0.056 303.8);
Tailwind
colors: {
  custom: {
    50: '#aea3bd',
    500: '#8d7ea2',
    950: '#000000',
  },
}
SCSS
$custom: #8d7ea2;
$custom-light: #aea3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7ea2",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 265,
    "s": 16.216,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61939,
    "c": 0.05601,
    "h": 303.8
  },
  "luminance": 0.23193
}

Semantic roles & 50–950 ramp

primary
#8D7EA2
secondary
#BFC5B7
accent
#B96F9A
background
#FAFAFB
surface
#F4F3F6
border
#CECDD0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #8D7EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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