#8D2497#8D2497

#8D2497 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.191 H 324.1°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#8D2497
RGBrgb(141, 36, 151)
HSLhsl(295, 61%, 37%)
HSVhsv(295, 76%, 59%)
CMYKcmyk(6.6%, 76.2%, 0%, 40.8%)
CIE-LABlab(36.29, 57.43, -40.18)
CIE-LCHlch(36.29, 70.09, 325.02°)
OKLaboklab(47.6% 0.155 -0.1121)
OKLCHoklch(47.6% 0.191 324.1)
XYZxyz(17.2008, 9.1599, 30.1342)
Luminance0.0916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2497 #2E9724
analogous
#542497 #8D2497 #972468
triadic
#8D2497 #978D24 #24978D
tetradic
#8D2497 #975424 #2E9724 #246897
square
#8D2497 #975424 #2E9724 #246897
split-complementary
#8D2497 #689724 #249754
monochromatic
#310C34 #5F1866 #8D2497 #BB30C8 #CE5DD8

Accessibility & contrast

On white

7.42
#8D2497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8D2497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2497
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2497#FFFFFF#000000##FFFFFF
##8D24971.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#3A5A94
Tritanopia (blue-blind)
#90395C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2497;
/* rgb */ color: rgb(141, 36, 151);
/* oklch */ color: oklch(47.6% 0.191 324.1);
Tailwind
colors: {
  custom: {
    50: '#b26bb6',
    500: '#8d2497',
    950: '#000000',
  },
}
SCSS
$custom: #8d2497;
$custom-light: #b26bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2497",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 294.783,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47596,
    "c": 0.19128,
    "h": 324.1
  },
  "luminance": 0.09159
}

Semantic roles & 50–950 ramp

primary
#8D2497
secondary
#62BD5A
accent
#E54351
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D2497

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

Preview Lab → · Contrast checker → · Palette generator →

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