#8D5BC2#8D5BC2

#8D5BC2 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.1% C 0.158 H 304.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8D5BC2
RGBrgb(141, 91, 194)
HSLhsl(269, 46%, 56%)
HSVhsv(269, 53%, 76%)
CMYKcmyk(27.3%, 53.1%, 0%, 23.9%)
CIE-LABlab(48.31, 40.84, -46.48)
CIE-LCHlch(48.31, 61.87, 311.31°)
OKLaboklab(57.15% 0.0891 -0.1308)
OKLCHoklch(57.15% 0.158 304.3)
XYZxyz(24.4611, 17.0400, 53.0289)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BC2 #90C25B
analogous
#5B5CC2 #8D5BC2 #C05BC2
triadic
#8D5BC2 #C28D5B #5BC28D
tetradic
#8D5BC2 #C25B5C #90C25B #5BC2C0
square
#8D5BC2 #C25B5C #90C25B #5BC2C0
split-complementary
#8D5BC2 #C2C05B #5CC25B
monochromatic
#502C77 #6E3DA3 #8D5BC2 #AC88D3 #CBB4E3

Accessibility & contrast

On white

4.76
#8D5BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8D5BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5BC2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BC2#FFFFFF#000000##FFFFFF
##8D5BC21.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3871C5
Deuteranopia (green-blind)
#4873BF
Tritanopia (blue-blind)
#846E86
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d5bc2;
/* rgb */ color: rgb(141, 91, 194);
/* oklch */ color: oklch(57.1% 0.158 304.3);
Tailwind
colors: {
  custom: {
    50: '#b18bd5',
    500: '#8d5bc2',
    950: '#000000',
  },
}
SCSS
$custom: #8d5bc2;
$custom-light: #b18bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5bc2",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 194
  },
  "hsl": {
    "h": 269.126,
    "s": 45.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57146,
    "c": 0.15825,
    "h": 304.3
  },
  "luminance": 0.1704
}

Semantic roles & 50–950 ramp

primary
#8D5BC2
secondary
#BDD2A7
accent
#D55296
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8D5BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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