#8D2F9A#8D2F9A

#8D2F9A is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.181 H 322.6°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#8D2F9A
RGBrgb(141, 47, 154)
HSLhsl(293, 53%, 39%)
HSVhsv(293, 69%, 60%)
CMYKcmyk(8.4%, 69.5%, 0%, 39.6%)
CIE-LABlab(37.90, 53.93, -39.44)
CIE-LCHlch(37.90, 66.81, 323.82°)
OKLaboklab(48.8% 0.1439 -0.11)
OKLCHoklch(48.8% 0.181 322.6)
XYZxyz(17.8332, 10.0298, 31.5622)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F9A #3C9A2F
analogous
#572F9A #8D2F9A #9A2F72
triadic
#8D2F9A #9A8D2F #2F9A8D
tetradic
#8D2F9A #9A572F #3C9A2F #2F729A
square
#8D2F9A #9A572F #3C9A2F #2F729A
split-complementary
#8D2F9A #729A2F #2F9A57
monochromatic
#37123C #62216B #8D2F9A #B541C5 #C770D3

Accessibility & contrast

On white

6.99
#8D2F9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8D2F9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2F9A
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F9A#FFFFFF#000000##FFFFFF
##8D2F9A1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E529D
Deuteranopia (green-blind)
#3E5D97
Tritanopia (blue-blind)
#8F4161
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d2f9a;
/* rgb */ color: rgb(141, 47, 154);
/* oklch */ color: oklch(48.8% 0.181 322.6);
Tailwind
colors: {
  custom: {
    50: '#b270b8',
    500: '#8d2f9a',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f9a;
$custom-light: #b270b8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f9a",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 154
  },
  "hsl": {
    "h": 292.71,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48802,
    "c": 0.18108,
    "h": 322.6
  },
  "luminance": 0.10029
}

Semantic roles & 50–950 ramp

primary
#8D2F9A
secondary
#74BB6A
accent
#DD4B5D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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