#8D2CA8#8D2CA8

#8D2CA8 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.4% C 0.197 H 317.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8D2CA8
RGBrgb(141, 44, 168)
HSLhsl(287, 58%, 42%)
HSVhsv(287, 74%, 66%)
CMYKcmyk(16.1%, 73.8%, 0%, 34.1%)
CIE-LABlab(38.36, 57.79, -47.12)
CIE-LCHlch(38.36, 74.56, 320.81°)
OKLaboklab(49.42% 0.1461 -0.1324)
OKLCHoklch(49.42% 0.197 317.8)
XYZxyz(18.9521, 10.2921, 38.0265)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2CA8 #47A82C
analogous
#4F2CA8 #8D2CA8 #A82C85
triadic
#8D2CA8 #A88D2C #2CA88D
tetradic
#8D2CA8 #A84F2C #47A82C #2C85A8
square
#8D2CA8 #A84F2C #47A82C #2C85A8
split-complementary
#8D2CA8 #85A82C #2CA84F
monochromatic
#3C1347 #641F78 #8D2CA8 #B043CE #C474DB

Accessibility & contrast

On white

6.87
#8D2CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8D2CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2CA8
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2CA8#FFFFFF#000000##FFFFFF
##8D2CA81.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#315DA5
Tritanopia (blue-blind)
#8C4568
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d2ca8;
/* rgb */ color: rgb(141, 44, 168);
/* oklch */ color: oklch(49.4% 0.197 317.8);
Tailwind
colors: {
  custom: {
    50: '#b26fc2',
    500: '#8d2ca8',
    950: '#000000',
  },
}
SCSS
$custom: #8d2ca8;
$custom-light: #b26fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2ca8",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 286.935,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49416,
    "c": 0.19717,
    "h": 317.8
  },
  "luminance": 0.10291
}

Semantic roles & 50–950 ramp

primary
#8D2CA8
secondary
#80C26E
accent
#E24668
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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