#8D2894#8D2894

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

Color values

HEX#8D2894
RGBrgb(141, 40, 148)
HSLhsl(296, 57%, 37%)
HSVhsv(296, 73%, 58%)
CMYKcmyk(4.7%, 73%, 0%, 42%)
CIE-LABlab(36.59, 55.51, -37.87)
CIE-LCHlch(36.59, 67.20, 325.70°)
OKLaboklab(47.75% 0.1513 -0.1054)
OKLCHoklch(47.75% 0.184 325.2)
XYZxyz(17.0882, 9.3195, 28.9100)
Luminance0.0932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2894 #2F9428
analogous
#572894 #8D2894 #942865
triadic
#8D2894 #948D28 #28948D
tetradic
#8D2894 #945728 #2F9428 #286594
square
#8D2894 #945728 #2F9428 #286594
split-complementary
#8D2894 #659428 #289457
monochromatic
#310E34 #5F1B64 #8D2894 #BB35C4 #CD62D5

Accessibility & contrast

On white

7.33
#8D2894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2894
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2894#FFFFFF#000000##FFFFFF
##8D28941.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074E97
Deuteranopia (green-blind)
#3E5A91
Tritanopia (blue-blind)
#903A5C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2894;
/* rgb */ color: rgb(141, 40, 148);
/* oklch */ color: oklch(47.8% 0.184 325.2);
Tailwind
colors: {
  custom: {
    50: '#b26cb4',
    500: '#8d2894',
    950: '#000000',
  },
}
SCSS
$custom: #8d2894;
$custom-light: #b26cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2894",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 296.111,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47753,
    "c": 0.1844,
    "h": 325.2
  },
  "luminance": 0.09318
}

Semantic roles & 50–950 ramp

primary
#8D2894
secondary
#64BA5E
accent
#E14751
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2894

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

Preview Lab → · Contrast checker → · Palette generator →

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