#8D2E95#8D2E95

#8D2E95 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.4% C 0.178 H 324.6°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8D2E95
RGBrgb(141, 46, 149)
HSLhsl(295, 53%, 38%)
HSVhsv(295, 69%, 58%)
CMYKcmyk(5.4%, 69.1%, 0%, 41.6%)
CIE-LABlab(37.46, 53.40, -37.10)
CIE-LCHlch(37.46, 65.03, 325.21°)
OKLaboklab(48.39% 0.145 -0.1032)
OKLCHoklch(48.39% 0.178 324.6)
XYZxyz(17.3859, 9.7877, 29.4014)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2E95 #36952E
analogous
#592E95 #8D2E95 #952E69
triadic
#8D2E95 #958D2E #2E958D
tetradic
#8D2E95 #95592E #36952E #2E6995
square
#8D2E95 #95592E #36952E #2E6995
split-complementary
#8D2E95 #69952E #2E9559
monochromatic
#341137 #612066 #8D2E95 #B93DC3 #CA6CD2

Accessibility & contrast

On white

7.10
#8D2E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8D2E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2E95
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2E95#FFFFFF#000000##FFFFFF
##8D2E951.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155198
Deuteranopia (green-blind)
#415C92
Tritanopia (blue-blind)
#903E5E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d2e95;
/* rgb */ color: rgb(141, 46, 149);
/* oklch */ color: oklch(48.4% 0.178 324.6);
Tailwind
colors: {
  custom: {
    50: '#b16fb4',
    500: '#8d2e95',
    950: '#000000',
  },
}
SCSS
$custom: #8d2e95;
$custom-light: #b16fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2e95",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 295.34,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48393,
    "c": 0.17795,
    "h": 324.6
  },
  "luminance": 0.09787
}

Semantic roles & 50–950 ramp

primary
#8D2E95
secondary
#6DB966
accent
#DC4C57
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2E95

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

Preview Lab → · Contrast checker → · Palette generator →

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