#8D5CA9#8D5CA9

#8D5CA9 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 55.9% C 0.126 H 312.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8D5CA9
RGBrgb(141, 92, 169)
HSLhsl(278, 31%, 51%)
HSVhsv(278, 46%, 66%)
CMYKcmyk(16.6%, 45.6%, 0%, 33.7%)
CIE-LABlab(47.21, 34.40, -33.65)
CIE-LCHlch(47.21, 48.12, 315.63°)
OKLaboklab(55.9% 0.0848 -0.0934)
OKLCHoklch(55.9% 0.126 312.2)
XYZxyz(21.9718, 16.1820, 39.4944)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CA9 #78A95C
analogous
#665CA9 #8D5CA9 #A95C9E
triadic
#8D5CA9 #A98D5C #5CA98D
tetradic
#8D5CA9 #A9665C #78A95C #5C9EA9
square
#8D5CA9 #A9665C #78A95C #5C9EA9
split-complementary
#8D5CA9 #9EA95C #5CA966
monochromatic
#4B305B #6C4583 #8D5CA9 #A984BE #C5ACD3

Accessibility & contrast

On white

4.96
#8D5CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#8D5CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5CA9
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CA9#FFFFFF#000000##FFFFFF
##8D5CA91.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6DAC
Deuteranopia (green-blind)
#5971A7
Tritanopia (blue-blind)
#8A687A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d5ca9;
/* rgb */ color: rgb(141, 92, 169);
/* oklch */ color: oklch(55.9% 0.126 312.2);
Tailwind
colors: {
  custom: {
    50: '#b08bc3',
    500: '#8d5ca9',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ca9;
$custom-light: #b08bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ca9",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 169
  },
  "hsl": {
    "h": 278.182,
    "s": 30.924,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55901,
    "c": 0.12621,
    "h": 312.2
  },
  "luminance": 0.16182
}

Semantic roles & 50–950 ramp

primary
#8D5CA9
secondary
#ACC19F
accent
#C76186
background
#FAF8FC
surface
#F5F0F8
border
#CFCBD1
text
#110C12
muted
#807D81

Preview Lab

Preview with #8D5CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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