#8D2297#8D2297

#8D2297 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.193 H 324.2°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8D2297
RGBrgb(141, 34, 151)
HSLhsl(295, 63%, 36%)
HSVhsv(295, 77%, 59%)
CMYKcmyk(6.6%, 77.5%, 0%, 40.8%)
CIE-LABlab(36.07, 58.08, -40.54)
CIE-LCHlch(36.07, 70.83, 325.08°)
OKLaboklab(47.44% 0.1568 -0.1131)
OKLCHoklch(47.44% 0.193 324.2)
XYZxyz(17.1420, 9.0422, 30.1146)
Luminance0.0904 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2297 #2C9722
analogous
#532297 #8D2297 #972267
triadic
#8D2297 #978D22 #22978D
tetradic
#8D2297 #975322 #2C9722 #226797
square
#8D2297 #975322 #2C9722 #226797
split-complementary
#8D2297 #679722 #229753
monochromatic
#300C33 #5E1765 #8D2297 #BC2DC9 #CF5ADA

Accessibility & contrast

On white

7.48
#8D2297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8D2297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2297
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2297#FFFFFF#000000##FFFFFF
##8D22971.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#395994
Tritanopia (blue-blind)
#90385C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2297;
/* rgb */ color: rgb(141, 34, 151);
/* oklch */ color: oklch(47.4% 0.193 324.2);
Tailwind
colors: {
  custom: {
    50: '#b26ab6',
    500: '#8d2297',
    950: '#000000',
  },
}
SCSS
$custom: #8d2297;
$custom-light: #b26ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2297",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 294.872,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47436,
    "c": 0.19333,
    "h": 324.2
  },
  "luminance": 0.09041
}

Semantic roles & 50–950 ramp

primary
#8D2297
secondary
#60BE57
accent
#E64250
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D2297

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

Preview Lab → · Contrast checker → · Palette generator →

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