#8D2CA1#8D2CA1

#8D2CA1 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.191 H 320.2°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8D2CA1
RGBrgb(141, 44, 161)
HSLhsl(290, 57%, 40%)
HSVhsv(290, 73%, 63%)
CMYKcmyk(12.4%, 72.7%, 0%, 36.9%)
CIE-LABlab(37.91, 56.44, -43.64)
CIE-LCHlch(37.91, 71.34, 322.29°)
OKLaboklab(48.95% 0.1467 -0.1222)
OKLCHoklch(48.95% 0.191 320.2)
XYZxyz(18.3174, 10.0382, 34.6840)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2CA1 #40A12C
analogous
#532CA1 #8D2CA1 #A12C7A
triadic
#8D2CA1 #A18D2C #2CA18D
tetradic
#8D2CA1 #A1532C #40A12C #2C7AA1
square
#8D2CA1 #A1532C #40A12C #2C7AA1
split-complementary
#8D2CA1 #7AA12C #2CA153
monochromatic
#391241 #631F71 #8D2CA1 #B340CB #C670D8

Accessibility & contrast

On white

6.98
#8D2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8D2CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2CA1
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2CA1#FFFFFF#000000##FFFFFF
##8D2CA11.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#375D9E
Tritanopia (blue-blind)
#8E4264
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d2ca1;
/* rgb */ color: rgb(141, 44, 161);
/* oklch */ color: oklch(49.0% 0.191 320.2);
Tailwind
colors: {
  custom: {
    50: '#b26fbd',
    500: '#8d2ca1',
    950: '#000000',
  },
}
SCSS
$custom: #8d2ca1;
$custom-light: #b26fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2ca1",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 289.744,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48951,
    "c": 0.19094,
    "h": 320.2
  },
  "luminance": 0.10037
}

Semantic roles & 50–950 ramp

primary
#8D2CA1
secondary
#78BF6A
accent
#E04762
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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