#8D5CC1#8D5CC1

#8D5CC1 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.2% C 0.155 H 304.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8D5CC1
RGBrgb(141, 92, 193)
HSLhsl(269, 45%, 56%)
HSVhsv(269, 52%, 76%)
CMYKcmyk(26.9%, 52.3%, 0%, 24.3%)
CIE-LABlab(48.47, 40.04, -45.64)
CIE-LCHlch(48.47, 60.72, 311.26°)
OKLaboklab(57.25% 0.0877 -0.1283)
OKLCHoklch(57.25% 0.155 304.3)
XYZxyz(24.4352, 17.1674, 52.4681)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CC1 #90C15C
analogous
#5C5DC1 #8D5CC1 #BF5CC1
triadic
#8D5CC1 #C18D5C #5CC18D
tetradic
#8D5CC1 #C15C5D #90C15C #5CC1BF
square
#8D5CC1 #C15C5D #90C15C #5CC1BF
split-complementary
#8D5CC1 #C1BF5C #5DC15C
monochromatic
#502D76 #6E3EA2 #8D5CC1 #AC88D2 #CBB5E3

Accessibility & contrast

On white

4.74
#8D5CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8D5CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5CC1
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CC1#FFFFFF#000000##FFFFFF
##8D5CC11.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B72C4
Deuteranopia (green-blind)
#4A73BF
Tritanopia (blue-blind)
#846F86
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d5cc1;
/* rgb */ color: rgb(141, 92, 193);
/* oklch */ color: oklch(57.2% 0.155 304.3);
Tailwind
colors: {
  custom: {
    50: '#b18cd4',
    500: '#8d5cc1',
    950: '#000000',
  },
}
SCSS
$custom: #8d5cc1;
$custom-light: #b18cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5cc1",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 193
  },
  "hsl": {
    "h": 269.109,
    "s": 44.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57247,
    "c": 0.15545,
    "h": 304.3
  },
  "luminance": 0.17167
}

Semantic roles & 50–950 ramp

primary
#8D5CC1
secondary
#BDD1A7
accent
#D55396
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8D5CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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