#8D7BB2#8D7BB2

#8D7BB2 is a light, moderate violet. Relative luminance 0.230; OKLCH L 62.0% C 0.084 H 299.0°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8D7BB2
RGBrgb(141, 123, 178)
HSLhsl(260, 26%, 59%)
HSVhsv(260, 31%, 70%)
CMYKcmyk(20.8%, 30.9%, 0%, 30.2%)
CIE-LABlab(55.12, 18.46, -26.56)
CIE-LCHlch(55.12, 32.35, 304.80°)
OKLaboklab(62.03% 0.0406 -0.0733)
OKLCHoklch(62.03% 0.084 299)
XYZxyz(26.1016, 23.0429, 45.1834)
Luminance0.2304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7BB2 #A0B27B
analogous
#7B85B2 #8D7BB2 #A97BB2
triadic
#8D7BB2 #B28D7B #7BB28D
tetradic
#8D7BB2 #B27B85 #A0B27B #7BB2A9
square
#8D7BB2 #B27B85 #A0B27B #7BB2A9
split-complementary
#8D7BB2 #B2A97B #85B27B
monochromatic
#514271 #6D5897 #8D7BB2 #AEA2C9 #D0C8DF

Accessibility & contrast

On white

3.74
#8D7BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#8D7BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7BB2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7BB2#FFFFFF#000000##000000
##8D7BB21.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F84B4
Deuteranopia (green-blind)
#7284B0
Tritanopia (blue-blind)
#86848F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8d7bb2;
/* rgb */ color: rgb(141, 123, 178);
/* oklch */ color: oklch(62.0% 0.084 299.0);
Tailwind
colors: {
  custom: {
    50: '#afa1c9',
    500: '#8d7bb2',
    950: '#000000',
  },
}
SCSS
$custom: #8d7bb2;
$custom-light: #afa1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7bb2",
  "rgb": {
    "r": 141,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 259.636,
    "s": 26.316,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62026,
    "c": 0.08374,
    "h": 299
  },
  "luminance": 0.23043
}

Semantic roles & 50–950 ramp

primary
#8D7BB2
secondary
#C8CFBA
accent
#C365A4
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100F13
muted
#7F7E82

Preview Lab

Preview with #8D7BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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