#8D7CB3#8D7CB3

#8D7CB3 is a light, moderate violet. Relative luminance 0.233; OKLCH L 62.3% C 0.083 H 298.1°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8D7CB3
RGBrgb(141, 124, 179)
HSLhsl(259, 27%, 59%)
HSVhsv(259, 31%, 70%)
CMYKcmyk(21.2%, 30.7%, 0%, 29.8%)
CIE-LABlab(55.41, 18.11, -26.68)
CIE-LCHlch(55.41, 32.25, 304.18°)
OKLaboklab(62.27% 0.0394 -0.0736)
OKLCHoklch(62.27% 0.083 298.1)
XYZxyz(26.3270, 23.3325, 45.7557)
Luminance0.2333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7CB3 #A2B37C
analogous
#7C87B3 #8D7CB3 #A97CB3
triadic
#8D7CB3 #B38D7C #7CB38D
tetradic
#8D7CB3 #B37C87 #A2B37C #7CB3A9
square
#8D7CB3 #B37C87 #A2B37C #7CB3A9
split-complementary
#8D7CB3 #B3A97C #87B37C
monochromatic
#514272 #6D5999 #8D7CB3 #AFA3C9 #D0C9E0

Accessibility & contrast

On white

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

On black

5.67
#8D7CB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7CB3
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7CB3#FFFFFF#000000##000000
##8D7CB31.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F85B5
Deuteranopia (green-blind)
#7284B1
Tritanopia (blue-blind)
#868590
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8d7cb3;
/* rgb */ color: rgb(141, 124, 179);
/* oklch */ color: oklch(62.3% 0.083 298.1);
Tailwind
colors: {
  custom: {
    50: '#afa2ca',
    500: '#8d7cb3',
    950: '#000000',
  },
}
SCSS
$custom: #8d7cb3;
$custom-light: #afa2ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7cb3",
  "rgb": {
    "r": 141,
    "g": 124,
    "b": 179
  },
  "hsl": {
    "h": 258.545,
    "s": 26.57,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62267,
    "c": 0.08345,
    "h": 298.1
  },
  "luminance": 0.23333
}

Semantic roles & 50–950 ramp

primary
#8D7CB3
secondary
#C9D0BB
accent
#C365A6
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100F13
muted
#7F7E82

Preview Lab

Preview with #8D7CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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