#8D299F#8D299F

#8D299F is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.193 H 321.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8D299F
RGBrgb(141, 41, 159)
HSLhsl(291, 59%, 39%)
HSVhsv(291, 74%, 62%)
CMYKcmyk(11.3%, 74.2%, 0%, 37.6%)
CIE-LABlab(37.40, 57.17, -43.26)
CIE-LCHlch(37.40, 71.69, 322.88°)
OKLaboklab(48.54% 0.1498 -0.1211)
OKLCHoklch(48.54% 0.193 321)
XYZxyz(18.0347, 9.7528, 33.7267)
Luminance0.0975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D299F #3B9F29
analogous
#52299F #8D299F #9F2976
triadic
#8D299F #9F8D29 #299F8D
tetradic
#8D299F #9F5229 #3B9F29 #29769F
square
#8D299F #9F5229 #3B9F29 #29769F
split-complementary
#8D299F #769F29 #299F52
monochromatic
#37103E #621C6E #8D299F #B639CC #C86AD9

Accessibility & contrast

On white

7.12
#8D299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8D299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D299F
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D299F#FFFFFF#000000##FFFFFF
##8D299F1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#375C9C
Tritanopia (blue-blind)
#8E4062
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d299f;
/* rgb */ color: rgb(141, 41, 159);
/* oklch */ color: oklch(48.5% 0.193 321.0);
Tailwind
colors: {
  custom: {
    50: '#b26dbc',
    500: '#8d299f',
    950: '#000000',
  },
}
SCSS
$custom: #8d299f;
$custom-light: #b26dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d299f",
  "rgb": {
    "r": 141,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 290.847,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48543,
    "c": 0.19262,
    "h": 321
  },
  "luminance": 0.09752
}

Semantic roles & 50–950 ramp

primary
#8D299F
secondary
#73BF65
accent
#E2465D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D299F

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

Preview Lab → · Contrast checker → · Palette generator →

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