#8D2A94#8D2A94

#8D2A94 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.9% C 0.182 H 325.1°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#8D2A94
RGBrgb(141, 42, 148)
HSLhsl(296, 56%, 37%)
HSVhsv(296, 72%, 58%)
CMYKcmyk(4.7%, 71.6%, 0%, 42%)
CIE-LABlab(36.85, 54.77, -37.46)
CIE-LCHlch(36.85, 66.36, 325.63°)
OKLaboklab(47.94% 0.1493 -0.1042)
OKLCHoklch(47.94% 0.182 325.1)
XYZxyz(17.1574, 9.4579, 28.9331)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2A94 #31942A
analogous
#582A94 #8D2A94 #942A66
triadic
#8D2A94 #948D2A #2A948D
tetradic
#8D2A94 #94582A #31942A #2A6694
square
#8D2A94 #94582A #31942A #2A6694
split-complementary
#8D2A94 #66942A #2A9458
monochromatic
#320F35 #601C64 #8D2A94 #BA38C4 #CC65D3

Accessibility & contrast

On white

7.26
#8D2A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8D2A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2A94
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2A94#FFFFFF#000000##FFFFFF
##8D2A941.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4F97
Deuteranopia (green-blind)
#3F5B91
Tritanopia (blue-blind)
#903B5C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d2a94;
/* rgb */ color: rgb(141, 42, 148);
/* oklch */ color: oklch(47.9% 0.182 325.1);
Tailwind
colors: {
  custom: {
    50: '#b26db4',
    500: '#8d2a94',
    950: '#000000',
  },
}
SCSS
$custom: #8d2a94;
$custom-light: #b26db4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2a94",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 296.038,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47939,
    "c": 0.18205,
    "h": 325.1
  },
  "luminance": 0.09457
}

Semantic roles & 50–950 ramp

primary
#8D2A94
secondary
#66B960
accent
#DF4953
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2A94

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

Preview Lab → · Contrast checker → · Palette generator →

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