#8D2CA2#8D2CA2

#8D2CA2 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.0% C 0.192 H 319.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8D2CA2
RGBrgb(141, 44, 162)
HSLhsl(289, 57%, 40%)
HSVhsv(289, 73%, 64%)
CMYKcmyk(13%, 72.8%, 0%, 36.5%)
CIE-LABlab(37.97, 56.63, -44.14)
CIE-LCHlch(37.97, 71.80, 322.06°)
OKLaboklab(49.02% 0.1466 -0.1237)
OKLCHoklch(49.02% 0.192 319.8)
XYZxyz(18.4060, 10.0736, 35.1503)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2CA2 #41A22C
analogous
#522CA2 #8D2CA2 #A22C7C
triadic
#8D2CA2 #A28D2C #2CA28D
tetradic
#8D2CA2 #A2522C #41A22C #2C7CA2
square
#8D2CA2 #A2522C #41A22C #2C7CA2
split-complementary
#8D2CA2 #7CA22C #2CA252
monochromatic
#391242 #631F72 #8D2CA2 #B240CB #C670D8

Accessibility & contrast

On white

6.97
#8D2CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D2CA2
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2CA2#FFFFFF#000000##FFFFFF
##8D2CA21.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#365D9F
Tritanopia (blue-blind)
#8D4364
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d2ca2;
/* rgb */ color: rgb(141, 44, 162);
/* oklch */ color: oklch(49.0% 0.192 319.8);
Tailwind
colors: {
  custom: {
    50: '#b26fbe',
    500: '#8d2ca2',
    950: '#000000',
  },
}
SCSS
$custom: #8d2ca2;
$custom-light: #b26fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2ca2",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 289.322,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49017,
    "c": 0.19183,
    "h": 319.8
  },
  "luminance": 0.10073
}

Semantic roles & 50–950 ramp

primary
#8D2CA2
secondary
#79BF6A
accent
#E14763
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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