#8D7CB2#8D7CB2

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

Color values

HEX#8D7CB2
RGBrgb(141, 124, 178)
HSLhsl(259, 26%, 59%)
HSVhsv(259, 30%, 70%)
CMYKcmyk(20.8%, 30.3%, 0%, 30.2%)
CIE-LABlab(55.37, 17.88, -26.17)
CIE-LCHlch(55.37, 31.69, 304.34°)
OKLaboklab(62.22% 0.0391 -0.0721)
OKLCHoklch(62.22% 0.082 298.4)
XYZxyz(26.2263, 23.2922, 45.2250)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7CB2 #A1B27C
analogous
#7C86B2 #8D7CB2 #A87CB2
triadic
#8D7CB2 #B28D7C #7CB28D
tetradic
#8D7CB2 #B27C86 #A1B27C #7CB2A8
square
#8D7CB2 #B27C86 #A1B27C #7CB2A8
split-complementary
#8D7CB2 #B2A87C #86B27C
monochromatic
#514271 #6D5998 #8D7CB2 #AFA3C9 #D0C9DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D7CB2#FFFFFF#000000##000000
##8D7CB21.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)
#7085B4
Deuteranopia (green-blind)
#7284B0
Tritanopia (blue-blind)
#86848F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8d7cb2;
/* rgb */ color: rgb(141, 124, 178);
/* oklch */ color: oklch(62.2% 0.082 298.4);
Tailwind
colors: {
  custom: {
    50: '#afa2c9',
    500: '#8d7cb2',
    950: '#000000',
  },
}
SCSS
$custom: #8d7cb2;
$custom-light: #afa2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7cb2",
  "rgb": {
    "r": 141,
    "g": 124,
    "b": 178
  },
  "hsl": {
    "h": 258.889,
    "s": 25.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62222,
    "c": 0.08205,
    "h": 298.4
  },
  "luminance": 0.23292
}

Semantic roles & 50–950 ramp

primary
#8D7CB2
secondary
#C9CFBA
accent
#C265A5
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100F13
muted
#7F7E82

Preview Lab

Preview with #8D7CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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