#8D2CA5#8D2CA5

#8D2CA5 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.194 H 318.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8D2CA5
RGBrgb(141, 44, 165)
HSLhsl(288, 58%, 41%)
HSVhsv(288, 73%, 65%)
CMYKcmyk(14.5%, 73.3%, 0%, 35.3%)
CIE-LABlab(38.17, 57.21, -45.63)
CIE-LCHlch(38.17, 73.18, 321.42°)
OKLaboklab(49.22% 0.1464 -0.1281)
OKLCHoklch(49.22% 0.194 318.8)
XYZxyz(18.6758, 10.1816, 36.5715)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2CA5 #44A52C
analogous
#502CA5 #8D2CA5 #A52C80
triadic
#8D2CA5 #A58D2C #2CA58D
tetradic
#8D2CA5 #A5502C #44A52C #2C80A5
square
#8D2CA5 #A5502C #44A52C #2C80A5
split-complementary
#8D2CA5 #80A52C #2CA550
monochromatic
#3A1244 #641F75 #8D2CA5 #B142CD #C572D9

Accessibility & contrast

On white

6.92
#8D2CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8D2CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2CA5
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2CA5#FFFFFF#000000##FFFFFF
##8D2CA51.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#345DA2
Tritanopia (blue-blind)
#8D4466
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d2ca5;
/* rgb */ color: rgb(141, 44, 165);
/* oklch */ color: oklch(49.2% 0.194 318.8);
Tailwind
colors: {
  custom: {
    50: '#b26fc0',
    500: '#8d2ca5',
    950: '#000000',
  },
}
SCSS
$custom: #8d2ca5;
$custom-light: #b26fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2ca5",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 288.099,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49215,
    "c": 0.19449,
    "h": 318.8
  },
  "luminance": 0.10181
}

Semantic roles & 50–950 ramp

primary
#8D2CA5
secondary
#7DC16C
accent
#E14765
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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