#8D2895#8D2895

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

Color values

HEX#8D2895
RGBrgb(141, 40, 149)
HSLhsl(296, 58%, 37%)
HSVhsv(296, 73%, 58%)
CMYKcmyk(5.4%, 73.2%, 0%, 41.6%)
CIE-LABlab(36.65, 55.69, -38.38)
CIE-LCHlch(36.65, 67.64, 325.42°)
OKLaboklab(47.82% 0.1513 -0.1068)
OKLCHoklch(47.82% 0.185 324.8)
XYZxyz(17.1677, 9.3513, 29.3287)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2895 #309528
analogous
#562895 #8D2895 #952867
triadic
#8D2895 #958D28 #28958D
tetradic
#8D2895 #955628 #309528 #286795
square
#8D2895 #955628 #309528 #286795
split-complementary
#8D2895 #679528 #289556
monochromatic
#320E35 #5F1B65 #8D2895 #BB35C5 #CD62D5

Accessibility & contrast

On white

7.32
#8D2895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8D2895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2895
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2895#FFFFFF#000000##FFFFFF
##8D28951.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044E98
Deuteranopia (green-blind)
#3E5A92
Tritanopia (blue-blind)
#903B5C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2895;
/* rgb */ color: rgb(141, 40, 149);
/* oklch */ color: oklch(47.8% 0.185 324.8);
Tailwind
colors: {
  custom: {
    50: '#b26cb5',
    500: '#8d2895',
    950: '#000000',
  },
}
SCSS
$custom: #8d2895;
$custom-light: #b26cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2895",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 295.596,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47815,
    "c": 0.18523,
    "h": 324.8
  },
  "luminance": 0.0935
}

Semantic roles & 50–950 ramp

primary
#8D2895
secondary
#65BB5E
accent
#E14752
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2895

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

Preview Lab → · Contrast checker → · Palette generator →

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