#8D2896#8D2896

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

Color values

HEX#8D2896
RGBrgb(141, 40, 150)
HSLhsl(295, 58%, 37%)
HSVhsv(295, 73%, 59%)
CMYKcmyk(6%, 73.3%, 0%, 41.2%)
CIE-LABlab(36.71, 55.87, -38.90)
CIE-LCHlch(36.71, 68.08, 325.15°)
OKLaboklab(47.88% 0.1513 -0.1083)
OKLCHoklch(47.88% 0.186 324.4)
XYZxyz(17.2479, 9.3834, 29.7510)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2896 #319628
analogous
#562896 #8D2896 #962868
triadic
#8D2896 #968D28 #28968D
tetradic
#8D2896 #965628 #319628 #286896
square
#8D2896 #965628 #319628 #286896
split-complementary
#8D2896 #689628 #289656
monochromatic
#320E35 #601B66 #8D2896 #BA35C6 #CC63D5

Accessibility & contrast

On white

7.30
#8D2896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2896
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2896#FFFFFF#000000##FFFFFF
##8D28961.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014F99
Deuteranopia (green-blind)
#3D5A93
Tritanopia (blue-blind)
#903B5D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2896;
/* rgb */ color: rgb(141, 40, 150);
/* oklch */ color: oklch(47.9% 0.186 324.4);
Tailwind
colors: {
  custom: {
    50: '#b26cb5',
    500: '#8d2896',
    950: '#000000',
  },
}
SCSS
$custom: #8d2896;
$custom-light: #b26cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2896",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 295.091,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47877,
    "c": 0.18608,
    "h": 324.4
  },
  "luminance": 0.09382
}

Semantic roles & 50–950 ramp

primary
#8D2896
secondary
#66BB5F
accent
#E14753
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2896

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

Preview Lab → · Contrast checker → · Palette generator →

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