#8D2295#8D2295

#8D2295 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.192 H 324.9°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#8D2295
RGBrgb(141, 34, 149)
HSLhsl(296, 63%, 36%)
HSVhsv(296, 77%, 58%)
CMYKcmyk(5.4%, 77.2%, 0%, 41.6%)
CIE-LABlab(35.94, 57.72, -39.52)
CIE-LCHlch(35.94, 69.95, 325.60°)
OKLaboklab(47.31% 0.1569 -0.1101)
OKLCHoklch(47.31% 0.192 324.9)
XYZxyz(16.9809, 8.9778, 29.2664)
Luminance0.0898 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2295 #2A9522
analogous
#532295 #8D2295 #952263
triadic
#8D2295 #958D22 #22958D
tetradic
#8D2295 #955322 #2A9522 #226395
square
#8D2295 #955322 #2A9522 #226395
split-complementary
#8D2295 #639522 #229553
monochromatic
#2F0B31 #5E1763 #8D2295 #BC2DC7 #D058D9

Accessibility & contrast

On white

7.51
#8D2295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8D2295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2295
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2295#FFFFFF#000000##FFFFFF
##8D22951.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#3B5992
Tritanopia (blue-blind)
#90375B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2295;
/* rgb */ color: rgb(141, 34, 149);
/* oklch */ color: oklch(47.3% 0.192 324.9);
Tailwind
colors: {
  custom: {
    50: '#b26ab5',
    500: '#8d2295',
    950: '#000000',
  },
}
SCSS
$custom: #8d2295;
$custom-light: #b26ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2295",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 295.826,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47309,
    "c": 0.19171,
    "h": 324.9
  },
  "luminance": 0.08977
}

Semantic roles & 50–950 ramp

primary
#8D2295
secondary
#5DBD56
accent
#E6424D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D2295

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

Preview Lab → · Contrast checker → · Palette generator →

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