#8D5CC2#8D5CC2

#8D5CC2 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.3% C 0.157 H 304.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8D5CC2
RGBrgb(141, 92, 194)
HSLhsl(269, 46%, 56%)
HSVhsv(269, 53%, 76%)
CMYKcmyk(27.3%, 52.6%, 0%, 23.9%)
CIE-LABlab(48.53, 40.28, -46.13)
CIE-LCHlch(48.53, 61.24, 311.13°)
OKLaboklab(57.31% 0.0878 -0.1298)
OKLCHoklch(57.31% 0.157 304.1)
XYZxyz(24.5471, 17.2121, 53.0576)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CC2 #91C25C
analogous
#5C5EC2 #8D5CC2 #C05CC2
triadic
#8D5CC2 #C28D5C #5CC28D
tetradic
#8D5CC2 #C25C5E #91C25C #5CC2C0
square
#8D5CC2 #C25C5E #91C25C #5CC2C0
split-complementary
#8D5CC2 #C2C05C #5EC25C
monochromatic
#502D77 #6E3DA4 #8D5CC2 #AC89D3 #CBB5E3

Accessibility & contrast

On white

4.73
#8D5CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#8D5CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5CC2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CC2#FFFFFF#000000##FFFFFF
##8D5CC21.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A72C5
Deuteranopia (green-blind)
#4973C0
Tritanopia (blue-blind)
#846F86
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d5cc2;
/* rgb */ color: rgb(141, 92, 194);
/* oklch */ color: oklch(57.3% 0.157 304.1);
Tailwind
colors: {
  custom: {
    50: '#b18cd5',
    500: '#8d5cc2',
    950: '#000000',
  },
}
SCSS
$custom: #8d5cc2;
$custom-light: #b18cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5cc2",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 268.824,
    "s": 45.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57306,
    "c": 0.15667,
    "h": 304.1
  },
  "luminance": 0.17212
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D5CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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