#8D2790#8D2790

#8D2790 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.4% C 0.182 H 326.8°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8D2790
RGBrgb(141, 39, 144)
HSLhsl(298, 57%, 36%)
HSVhsv(298, 73%, 56%)
CMYKcmyk(2.1%, 72.9%, 0%, 43.5%)
CIE-LABlab(36.23, 55.16, -36.00)
CIE-LCHlch(36.23, 65.87, 326.87°)
OKLaboklab(47.42% 0.1524 -0.0999)
OKLCHoklch(47.42% 0.182 326.8)
XYZxyz(16.7438, 9.1285, 27.2602)
Luminance0.0913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2790 #2A9027
analogous
#582790 #8D2790 #90275E
triadic
#8D2790 #908D27 #27908D
tetradic
#8D2790 #905827 #2A9027 #275E90
square
#8D2790 #905827 #2A9027 #275E90
split-complementary
#8D2790 #5E9027 #279058
monochromatic
#2F0D30 #5E1A60 #8D2790 #BC34C0 #D05ED3

Accessibility & contrast

On white

7.43
#8D2790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8D2790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2790
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2790#FFFFFF#000000##FFFFFF
##8D27901.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4D93
Deuteranopia (green-blind)
#405A8D
Tritanopia (blue-blind)
#913859
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2790;
/* rgb */ color: rgb(141, 39, 144);
/* oklch */ color: oklch(47.4% 0.182 326.8);
Tailwind
colors: {
  custom: {
    50: '#b26cb1',
    500: '#8d2790',
    950: '#000000',
  },
}
SCSS
$custom: #8d2790;
$custom-light: #b26cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2790",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 144
  },
  "hsl": {
    "h": 298.286,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47418,
    "c": 0.18223,
    "h": 326.8
  },
  "luminance": 0.09127
}

Semantic roles & 50–950 ramp

primary
#8D2790
secondary
#5DB95A
accent
#E1474C
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110711
muted
#807A80

Preview Lab

Preview with #8D2790

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

Preview Lab → · Contrast checker → · Palette generator →

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