#8D1895#8D1895

#8D1895 is a mid, highly saturated purple. Relative luminance 0.085; OKLCH L 46.6% C 0.201 H 325.2°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#8D1895
RGBrgb(141, 24, 149)
HSLhsl(296, 72%, 34%)
HSVhsv(296, 84%, 58%)
CMYKcmyk(5.4%, 83.9%, 0%, 41.6%)
CIE-LABlab(34.98, 60.51, -41.06)
CIE-LCHlch(34.98, 73.13, 325.84°)
OKLaboklab(46.63% 0.1646 -0.1146)
OKLCHoklch(46.63% 0.201 325.2)
XYZxyz(16.7356, 8.4871, 29.1846)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1895 #209518
analogous
#4F1895 #8D1895 #95185F
triadic
#8D1895 #958D18 #18958D
tetradic
#8D1895 #954F18 #209518 #185F95
square
#8D1895 #954F18 #209518 #185F95
split-complementary
#8D1895 #5F9518 #18954F
monochromatic
#29072C #5B1060 #8D1895 #BF20CA #D746E1

Accessibility & contrast

On white

7.79
#8D1895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8D1895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1895
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1895#FFFFFF#000000##FFFFFF
##8D18951.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#365792
Tritanopia (blue-blind)
#903259
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d1895;
/* rgb */ color: rgb(141, 24, 149);
/* oklch */ color: oklch(46.6% 0.201 325.2);
Tailwind
colors: {
  custom: {
    50: '#b267b5',
    500: '#8d1895',
    950: '#000000',
  },
}
SCSS
$custom: #8d1895;
$custom-light: #b267b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1895",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 296.16,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46625,
    "c": 0.20057,
    "h": 325.2
  },
  "luminance": 0.08486
}

Semantic roles & 50–950 ramp

primary
#8D1895
secondary
#4EC246
accent
#EF3944
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D1895

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

Preview Lab → · Contrast checker → · Palette generator →

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