#8D299E#8D299E

#8D299E is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.192 H 321.4°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#8D299E
RGBrgb(141, 41, 158)
HSLhsl(291, 59%, 39%)
HSVhsv(291, 74%, 62%)
CMYKcmyk(10.8%, 74.1%, 0%, 38%)
CIE-LABlab(37.33, 56.98, -42.76)
CIE-LCHlch(37.33, 71.24, 323.11°)
OKLaboklab(48.48% 0.1499 -0.1196)
OKLCHoklch(48.48% 0.192 321.4)
XYZxyz(17.9483, 9.7182, 33.2715)
Luminance0.0972 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D299E #3A9E29
analogous
#53299E #8D299E #9E2975
triadic
#8D299E #9E8D29 #299E8D
tetradic
#8D299E #9E5329 #3A9E29 #29759E
square
#8D299E #9E5329 #3A9E29 #29759E
split-complementary
#8D299E #759E29 #299E53
monochromatic
#36103D #621C6D #8D299E #B639CC #C869D8

Accessibility & contrast

On white

7.13
#8D299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8D299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D299E
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D299E#FFFFFF#000000##FFFFFF
##8D299E1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#385B9B
Tritanopia (blue-blind)
#8E3F61
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d299e;
/* rgb */ color: rgb(141, 41, 158);
/* oklch */ color: oklch(48.5% 0.192 321.4);
Tailwind
colors: {
  custom: {
    50: '#b26dbb',
    500: '#8d299e',
    950: '#000000',
  },
}
SCSS
$custom: #8d299e;
$custom-light: #b26dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d299e",
  "rgb": {
    "r": 141,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 291.282,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48478,
    "c": 0.19176,
    "h": 321.4
  },
  "luminance": 0.09717
}

Semantic roles & 50–950 ramp

primary
#8D299E
secondary
#71BF64
accent
#E2465D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D299E

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

Preview Lab → · Contrast checker → · Palette generator →

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