#8D5CA8#8D5CA8

#8D5CA8 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.8% C 0.125 H 312.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8D5CA8
RGBrgb(141, 92, 168)
HSLhsl(279, 30%, 51%)
HSVhsv(279, 45%, 66%)
CMYKcmyk(16.1%, 45.2%, 0%, 34.1%)
CIE-LABlab(47.16, 34.17, -33.14)
CIE-LCHlch(47.16, 47.60, 315.88°)
OKLaboklab(55.85% 0.0847 -0.092)
OKLCHoklch(55.85% 0.125 312.6)
XYZxyz(21.8783, 16.1446, 39.0019)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CA8 #77A85C
analogous
#675CA8 #8D5CA8 #A85C9D
triadic
#8D5CA8 #A88D5C #5CA88D
tetradic
#8D5CA8 #A8675C #77A85C #5C9DA8
square
#8D5CA8 #A8675C #77A85C #5C9DA8
split-complementary
#8D5CA8 #9DA85C #5CA867
monochromatic
#4B305A #6C4582 #8D5CA8 #A984BD #C5ACD3

Accessibility & contrast

On white

4.97
#8D5CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8D5CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5CA8
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CA8#FFFFFF#000000##FFFFFF
##8D5CA81.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6DAB
Deuteranopia (green-blind)
#5971A6
Tritanopia (blue-blind)
#8B677A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d5ca8;
/* rgb */ color: rgb(141, 92, 168);
/* oklch */ color: oklch(55.8% 0.125 312.6);
Tailwind
colors: {
  custom: {
    50: '#b08bc2',
    500: '#8d5ca8',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ca8;
$custom-light: #b08bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ca8",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 168
  },
  "hsl": {
    "h": 278.684,
    "s": 30.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55849,
    "c": 0.12501,
    "h": 312.6
  },
  "luminance": 0.16144
}

Semantic roles & 50–950 ramp

primary
#8D5CA8
secondary
#ABC19F
accent
#C76185
background
#FAF8FB
surface
#F5F0F7
border
#CFCBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #8D5CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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