#8D5ABC#8D5ABC

#8D5ABC is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.6% C 0.153 H 306.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8D5ABC
RGBrgb(141, 90, 188)
HSLhsl(271, 42%, 55%)
HSVhsv(271, 52%, 74%)
CMYKcmyk(25%, 52.1%, 0%, 26.3%)
CIE-LABlab(47.76, 39.95, -43.88)
CIE-LCHlch(47.76, 59.34, 312.32°)
OKLaboklab(56.63% 0.09 -0.1232)
OKLCHoklch(56.63% 0.153 306.2)
XYZxyz(23.7159, 16.6061, 49.5231)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5ABC #89BC5A
analogous
#5C5ABC #8D5ABC #BC5ABA
triadic
#8D5ABC #BC8D5A #5ABC8D
tetradic
#8D5ABC #BC5C5A #89BC5A #5ABABC
square
#8D5ABC #BC5C5A #89BC5A #5ABABC
split-complementary
#8D5ABC #BABC5A #5ABC5C
monochromatic
#4F2D6F #6E3F9A #8D5ABC #AB86CE #C9B1DF

Accessibility & contrast

On white

4.86
#8D5ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8D5ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5ABC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5ABC#FFFFFF#000000##FFFFFF
##8D5ABC1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C70BF
Deuteranopia (green-blind)
#4B72BA
Tritanopia (blue-blind)
#866C82
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d5abc;
/* rgb */ color: rgb(141, 90, 188);
/* oklch */ color: oklch(56.6% 0.153 306.2);
Tailwind
colors: {
  custom: {
    50: '#b18ad1',
    500: '#8d5abc',
    950: '#000000',
  },
}
SCSS
$custom: #8d5abc;
$custom-light: #b18ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5abc",
  "rgb": {
    "r": 141,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 271.224,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56631,
    "c": 0.15257,
    "h": 306.2
  },
  "luminance": 0.16606
}

Semantic roles & 50–950 ramp

primary
#8D5ABC
secondary
#B8CEA4
accent
#D25691
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8D5ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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