#8D5CB2#8D5CB2

#8D5CB2 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.4% C 0.137 H 308.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8D5CB2
RGBrgb(141, 92, 178)
HSLhsl(274, 36%, 53%)
HSVhsv(274, 48%, 70%)
CMYKcmyk(20.8%, 48.3%, 0%, 30.2%)
CIE-LABlab(47.66, 36.47, -38.21)
CIE-LCHlch(47.66, 52.82, 313.66°)
OKLaboklab(56.39% 0.0862 -0.1067)
OKLCHoklch(56.39% 0.137 308.9)
XYZxyz(22.8460, 16.5317, 44.0983)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CB2 #81B25C
analogous
#625CB2 #8D5CB2 #B25CAC
triadic
#8D5CB2 #B28D5C #5CB28D
tetradic
#8D5CB2 #B2625C #81B25C #5CACB2
square
#8D5CB2 #B2625C #81B25C #5CACB2
split-complementary
#8D5CB2 #ACB25C #5CB262
monochromatic
#4D2F64 #6E438E #8D5CB2 #AA86C6 #C7AFD9

Accessibility & contrast

On white

4.88
#8D5CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8D5CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5CB2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CB2#FFFFFF#000000##FFFFFF
##8D5CB21.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466FB5
Deuteranopia (green-blind)
#5472B0
Tritanopia (blue-blind)
#886A7F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d5cb2;
/* rgb */ color: rgb(141, 92, 178);
/* oklch */ color: oklch(56.4% 0.137 308.9);
Tailwind
colors: {
  custom: {
    50: '#b08bc9',
    500: '#8d5cb2',
    950: '#000000',
  },
}
SCSS
$custom: #8d5cb2;
$custom-light: #b08bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5cb2",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 274.186,
    "s": 35.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56386,
    "c": 0.13712,
    "h": 308.9
  },
  "luminance": 0.16531
}

Semantic roles & 50–950 ramp

primary
#8D5CB2
secondary
#B2C7A2
accent
#CC5C8C
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #8D5CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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