#8D2794#8D2794

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

Color values

HEX#8D2794
RGBrgb(141, 39, 148)
HSLhsl(296, 58%, 37%)
HSVhsv(296, 74%, 58%)
CMYKcmyk(4.7%, 73.6%, 0%, 42%)
CIE-LABlab(36.47, 55.87, -38.07)
CIE-LCHlch(36.47, 67.60, 325.73°)
OKLaboklab(47.66% 0.1523 -0.1059)
OKLCHoklch(47.66% 0.186 325.2)
XYZxyz(17.0549, 9.2530, 28.8989)
Luminance0.0925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2794 #2E9427
analogous
#572794 #8D2794 #942765
triadic
#8D2794 #948D27 #27948D
tetradic
#8D2794 #945727 #2E9427 #276594
square
#8D2794 #945727 #2E9427 #276594
split-complementary
#8D2794 #659427 #279457
monochromatic
#310D33 #5F1A64 #8D2794 #BB34C4 #CE60D5

Accessibility & contrast

On white

7.37
#8D2794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8D2794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2794
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2794#FFFFFF#000000##FFFFFF
##8D27941.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044E97
Deuteranopia (green-blind)
#3E5A91
Tritanopia (blue-blind)
#903A5B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2794;
/* rgb */ color: rgb(141, 39, 148);
/* oklch */ color: oklch(47.7% 0.186 325.2);
Tailwind
colors: {
  custom: {
    50: '#b26cb4',
    500: '#8d2794',
    950: '#000000',
  },
}
SCSS
$custom: #8d2794;
$custom-light: #b26cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2794",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 148
  },
  "hsl": {
    "h": 296.147,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47663,
    "c": 0.18554,
    "h": 325.2
  },
  "luminance": 0.09252
}

Semantic roles & 50–950 ramp

primary
#8D2794
secondary
#62BB5C
accent
#E24650
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D2794

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

Preview Lab → · Contrast checker → · Palette generator →

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