#8D5CA2#8D5CA2

#8D5CA2 is a mid, moderate purple. Relative luminance 0.159; OKLCH L 55.5% C 0.118 H 315.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8D5CA2
RGBrgb(141, 92, 162)
HSLhsl(282, 28%, 50%)
HSVhsv(282, 43%, 64%)
CMYKcmyk(13%, 43.2%, 0%, 36.5%)
CIE-LABlab(46.88, 32.83, -30.05)
CIE-LCHlch(46.88, 44.51, 317.54°)
OKLaboklab(55.54% 0.0836 -0.0831)
OKLCHoklch(55.54% 0.118 315.2)
XYZxyz(21.3322, 15.9262, 36.1257)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CA2 #71A25C
analogous
#6A5CA2 #8D5CA2 #A25C94
triadic
#8D5CA2 #A28D5C #5CA28D
tetradic
#8D5CA2 #A26A5C #71A25C #5C94A2
square
#8D5CA2 #A26A5C #71A25C #5C94A2
split-complementary
#8D5CA2 #94A25C #5CA26A
monochromatic
#493054 #6B467B #8D5CA2 #A883B8 #C4AACF

Accessibility & contrast

On white

5.02
#8D5CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8D5CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5CA2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CA2#FFFFFF#000000##FFFFFF
##8D5CA21.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6CA5
Deuteranopia (green-blind)
#5C71A0
Tritanopia (blue-blind)
#8C6677
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8d5ca2;
/* rgb */ color: rgb(141, 92, 162);
/* oklch */ color: oklch(55.5% 0.118 315.2);
Tailwind
colors: {
  custom: {
    50: '#af8bbe',
    500: '#8d5ca2',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ca2;
$custom-light: #af8bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ca2",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 162
  },
  "hsl": {
    "h": 282,
    "s": 27.559,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55541,
    "c": 0.11784,
    "h": 315.2
  },
  "luminance": 0.15926
}

Semantic roles & 50–950 ramp

primary
#8D5CA2
secondary
#A7BD9D
accent
#C46481
background
#FAF8FB
surface
#F5F0F6
border
#CFCBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #8D5CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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