#8D2F99#8D2F99

#8D2F99 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.7% C 0.180 H 323.0°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8D2F99
RGBrgb(141, 47, 153)
HSLhsl(293, 53%, 39%)
HSVhsv(293, 69%, 60%)
CMYKcmyk(7.8%, 69.3%, 0%, 40%)
CIE-LABlab(37.84, 53.74, -38.93)
CIE-LCHlch(37.84, 66.36, 324.08°)
OKLaboklab(48.74% 0.1439 -0.1085)
OKLCHoklch(48.74% 0.18 323)
XYZxyz(17.7502, 9.9967, 31.1254)
Luminance0.1000 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F99 #3B992F
analogous
#582F99 #8D2F99 #992F70
triadic
#8D2F99 #998D2F #2F998D
tetradic
#8D2F99 #99582F #3B992F #2F7099
square
#8D2F99 #99582F #3B992F #2F7099
split-complementary
#8D2F99 #70992F #2F9958
monochromatic
#37123B #62216A #8D2F99 #B641C5 #C86FD3

Accessibility & contrast

On white

7.00
#8D2F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8D2F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2F99
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F99#FFFFFF#000000##FFFFFF
##8D2F991.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10529C
Deuteranopia (green-blind)
#3F5D96
Tritanopia (blue-blind)
#8F4160
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d2f99;
/* rgb */ color: rgb(141, 47, 153);
/* oklch */ color: oklch(48.7% 0.180 323.0);
Tailwind
colors: {
  custom: {
    50: '#b270b7',
    500: '#8d2f99',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f99;
$custom-light: #b270b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f99",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 293.208,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4874,
    "c": 0.18019,
    "h": 323
  },
  "luminance": 0.09996
}

Semantic roles & 50–950 ramp

primary
#8D2F99
secondary
#73BA69
accent
#DC4B5C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2F99

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

Preview Lab → · Contrast checker → · Palette generator →

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