#8D2893#8D2893

#8D2893 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.7% C 0.184 H 325.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8D2893
RGBrgb(141, 40, 147)
HSLhsl(297, 57%, 37%)
HSVhsv(297, 73%, 58%)
CMYKcmyk(4.1%, 72.8%, 0%, 42.4%)
CIE-LABlab(36.53, 55.33, -37.35)
CIE-LCHlch(36.53, 66.76, 325.98°)
OKLaboklab(47.69% 0.1514 -0.1038)
OKLCHoklch(47.69% 0.184 325.5)
XYZxyz(17.0094, 9.2880, 28.4950)
Luminance0.0929 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2893 #2E9328
analogous
#582893 #8D2893 #932864
triadic
#8D2893 #938D28 #28938D
tetradic
#8D2893 #935828 #2E9328 #286493
square
#8D2893 #935828 #2E9328 #286493
split-complementary
#8D2893 #649328 #289358
monochromatic
#310E33 #5F1B63 #8D2893 #BB35C3 #CE61D4

Accessibility & contrast

On white

7.35
#8D2893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8D2893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2893
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2893#FFFFFF#000000##FFFFFF
##8D28931.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4E96
Deuteranopia (green-blind)
#3F5A90
Tritanopia (blue-blind)
#903A5B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2893;
/* rgb */ color: rgb(141, 40, 147);
/* oklch */ color: oklch(47.7% 0.184 325.5);
Tailwind
colors: {
  custom: {
    50: '#b26cb3',
    500: '#8d2893',
    950: '#000000',
  },
}
SCSS
$custom: #8d2893;
$custom-light: #b26cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2893",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 296.636,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47692,
    "c": 0.18356,
    "h": 325.5
  },
  "luminance": 0.09287
}

Semantic roles & 50–950 ramp

primary
#8D2893
secondary
#62BA5D
accent
#E04750
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D2893

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

Preview Lab → · Contrast checker → · Palette generator →

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