#8D2795#8D2795

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

Color values

HEX#8D2795
RGBrgb(141, 39, 149)
HSLhsl(296, 59%, 37%)
HSVhsv(296, 74%, 58%)
CMYKcmyk(5.4%, 73.8%, 0%, 41.6%)
CIE-LABlab(36.53, 56.04, -38.58)
CIE-LCHlch(36.53, 68.04, 325.45°)
OKLaboklab(47.73% 0.1523 -0.1074)
OKLCHoklch(47.73% 0.186 324.8)
XYZxyz(17.1344, 9.2848, 29.3176)
Luminance0.0928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2795 #2F9527
analogous
#562795 #8D2795 #952766
triadic
#8D2795 #958D27 #27958D
tetradic
#8D2795 #955627 #2F9527 #276695
square
#8D2795 #955627 #2F9527 #276695
split-complementary
#8D2795 #669527 #279556
monochromatic
#310E34 #5F1A64 #8D2795 #BB34C6 #CD61D6

Accessibility & contrast

On white

7.35
#8D2795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2795
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2795#FFFFFF#000000##FFFFFF
##8D27951.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014E98
Deuteranopia (green-blind)
#3D5A92
Tritanopia (blue-blind)
#903A5C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2795;
/* rgb */ color: rgb(141, 39, 149);
/* oklch */ color: oklch(47.7% 0.186 324.8);
Tailwind
colors: {
  custom: {
    50: '#b26cb5',
    500: '#8d2795',
    950: '#000000',
  },
}
SCSS
$custom: #8d2795;
$custom-light: #b26cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2795",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 295.636,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47726,
    "c": 0.18638,
    "h": 324.8
  },
  "luminance": 0.09284
}

Semantic roles & 50–950 ramp

primary
#8D2795
secondary
#64BB5D
accent
#E24651
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D2795

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

Preview Lab → · Contrast checker → · Palette generator →

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