#8D2897#8D2897

#8D2897 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.9% C 0.187 H 324.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8D2897
RGBrgb(141, 40, 151)
HSLhsl(295, 58%, 37%)
HSVhsv(295, 74%, 59%)
CMYKcmyk(6.6%, 73.5%, 0%, 40.8%)
CIE-LABlab(36.77, 56.05, -39.41)
CIE-LCHlch(36.77, 68.52, 324.89°)
OKLaboklab(47.94% 0.1512 -0.1098)
OKLCHoklch(47.94% 0.187 324)
XYZxyz(17.3287, 9.4157, 30.1768)
Luminance0.0941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2897 #329728
analogous
#562897 #8D2897 #972869
triadic
#8D2897 #978D28 #28978D
tetradic
#8D2897 #975628 #329728 #286997
square
#8D2897 #975628 #329728 #286997
split-complementary
#8D2897 #699728 #289756
monochromatic
#330E36 #601B67 #8D2897 #BA35C7 #CC64D6

Accessibility & contrast

On white

7.28
#8D2897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8D2897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2897
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2897#FFFFFF#000000##FFFFFF
##8D28971.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#3C5B94
Tritanopia (blue-blind)
#903C5D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2897;
/* rgb */ color: rgb(141, 40, 151);
/* oklch */ color: oklch(47.9% 0.187 324.0);
Tailwind
colors: {
  custom: {
    50: '#b26db6',
    500: '#8d2897',
    950: '#000000',
  },
}
SCSS
$custom: #8d2897;
$custom-light: #b26db6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2897",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 294.595,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4794,
    "c": 0.18692,
    "h": 324
  },
  "luminance": 0.09415
}

Semantic roles & 50–950 ramp

primary
#8D2897
secondary
#68BC5F
accent
#E14654
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2897

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

Preview Lab → · Contrast checker → · Palette generator →

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