#8D5CC0#8D5CC0

#8D5CC0 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.2% C 0.154 H 304.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8D5CC0
RGBrgb(141, 92, 192)
HSLhsl(269, 44%, 56%)
HSVhsv(269, 52%, 75%)
CMYKcmyk(26.6%, 52.1%, 0%, 24.7%)
CIE-LABlab(48.41, 39.80, -45.15)
CIE-LCHlch(48.41, 60.19, 311.39°)
OKLaboklab(57.19% 0.0876 -0.1269)
OKLCHoklch(57.19% 0.154 304.6)
XYZxyz(24.3240, 17.1229, 51.8826)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CC0 #8FC05C
analogous
#5C5DC0 #8D5CC0 #BF5CC0
triadic
#8D5CC0 #C08D5C #5CC08D
tetradic
#8D5CC0 #C05C5D #8FC05C #5CC0BF
square
#8D5CC0 #C05C5D #8FC05C #5CC0BF
split-complementary
#8D5CC0 #C0BF5C #5DC05C
monochromatic
#502D75 #6E3EA1 #8D5CC0 #AC88D1 #CBB4E2

Accessibility & contrast

On white

4.75
#8D5CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#8D5CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5CC0
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CC0#FFFFFF#000000##FFFFFF
##8D5CC01.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C72C3
Deuteranopia (green-blind)
#4B73BE
Tritanopia (blue-blind)
#846E85
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d5cc0;
/* rgb */ color: rgb(141, 92, 192);
/* oklch */ color: oklch(57.2% 0.154 304.6);
Tailwind
colors: {
  custom: {
    50: '#b18cd3',
    500: '#8d5cc0',
    950: '#000000',
  },
}
SCSS
$custom: #8d5cc0;
$custom-light: #b18cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5cc0",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 192
  },
  "hsl": {
    "h": 269.4,
    "s": 44.248,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57187,
    "c": 0.15423,
    "h": 304.6
  },
  "luminance": 0.17123
}

Semantic roles & 50–950 ramp

primary
#8D5CC0
secondary
#BCD1A7
accent
#D45495
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8D5CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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