#8D299A#8D299A

#8D299A is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.188 H 322.9°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#8D299A
RGBrgb(141, 41, 154)
HSLhsl(293, 58%, 38%)
HSVhsv(293, 73%, 60%)
CMYKcmyk(8.4%, 73.4%, 0%, 39.6%)
CIE-LABlab(37.08, 56.24, -40.74)
CIE-LCHlch(37.08, 69.44, 324.08°)
OKLaboklab(48.22% 0.1501 -0.1137)
OKLCHoklch(48.22% 0.188 322.9)
XYZxyz(17.6096, 9.5827, 31.4877)
Luminance0.0958 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D299A #369A29
analogous
#54299A #8D299A #9A296E
triadic
#8D299A #9A8D29 #299A8D
tetradic
#8D299A #9A5429 #369A29 #296E9A
square
#8D299A #9A5429 #369A29 #296E9A
split-complementary
#8D299A #6E9A29 #299A54
monochromatic
#340F39 #611C6A #8D299A #B937CA #CA67D7

Accessibility & contrast

On white

7.20
#8D299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8D299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D299A
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D299A#FFFFFF#000000##FFFFFF
##8D299A1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#3B5B97
Tritanopia (blue-blind)
#8F3E5F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d299a;
/* rgb */ color: rgb(141, 41, 154);
/* oklch */ color: oklch(48.2% 0.188 322.9);
Tailwind
colors: {
  custom: {
    50: '#b26db8',
    500: '#8d299a',
    950: '#000000',
  },
}
SCSS
$custom: #8d299a;
$custom-light: #b26db8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d299a",
  "rgb": {
    "r": 141,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 293.097,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4822,
    "c": 0.18832,
    "h": 322.9
  },
  "luminance": 0.09582
}

Semantic roles & 50–950 ramp

primary
#8D299A
secondary
#6DBD62
accent
#E14758
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D299A

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

Preview Lab → · Contrast checker → · Palette generator →

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