#8D5CB5#8D5CB5

#8D5CB5 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.6% C 0.141 H 307.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8D5CB5
RGBrgb(141, 92, 181)
HSLhsl(273, 38%, 54%)
HSVhsv(273, 49%, 71%)
CMYKcmyk(22.1%, 49.2%, 0%, 29%)
CIE-LABlab(47.82, 37.17, -39.71)
CIE-LCHlch(47.82, 54.39, 313.11°)
OKLaboklab(56.55% 0.0865 -0.111)
OKLCHoklch(56.55% 0.141 307.9)
XYZxyz(23.1505, 16.6535, 45.7020)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CB5 #84B55C
analogous
#605CB5 #8D5CB5 #B55CB0
triadic
#8D5CB5 #B58D5C #5CB58D
tetradic
#8D5CB5 #B5605C #84B55C #5CB0B5
square
#8D5CB5 #B5605C #84B55C #5CB0B5
split-complementary
#8D5CB5 #B0B55C #5CB560
monochromatic
#4E2F68 #6E4292 #8D5CB5 #AA86C8 #C8B0DB

Accessibility & contrast

On white

4.85
#8D5CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8D5CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5CB5
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CB5#FFFFFF#000000##FFFFFF
##8D5CB51.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4470B8
Deuteranopia (green-blind)
#5272B3
Tritanopia (blue-blind)
#876B80
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d5cb5;
/* rgb */ color: rgb(141, 92, 181);
/* oklch */ color: oklch(56.6% 0.141 307.9);
Tailwind
colors: {
  custom: {
    50: '#b08bcb',
    500: '#8d5cb5',
    950: '#000000',
  },
}
SCSS
$custom: #8d5cb5;
$custom-light: #b08bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5cb5",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 181
  },
  "hsl": {
    "h": 273.034,
    "s": 37.553,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56553,
    "c": 0.14078,
    "h": 307.9
  },
  "luminance": 0.16653
}

Semantic roles & 50–950 ramp

primary
#8D5CB5
secondary
#B4C9A3
accent
#CE5A8E
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #8D5CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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