#8D2E9F#8D2E9F

#8D2E9F is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.0% C 0.187 H 320.8°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8D2E9F
RGBrgb(141, 46, 159)
HSLhsl(290, 55%, 40%)
HSVhsv(290, 71%, 62%)
CMYKcmyk(11.3%, 71.1%, 0%, 37.6%)
CIE-LABlab(38.06, 55.28, -42.20)
CIE-LCHlch(38.06, 69.55, 322.64°)
OKLaboklab(49.02% 0.1448 -0.118)
OKLCHoklch(49.02% 0.187 320.8)
XYZxyz(18.2188, 10.1209, 33.7880)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2E9F #409F2E
analogous
#542E9F #8D2E9F #9F2E79
triadic
#8D2E9F #9F8D2E #2E9F8D
tetradic
#8D2E9F #9F542E #409F2E #2E799F
square
#8D2E9F #9F542E #409F2E #2E799F
split-complementary
#8D2E9F #799F2E #2E9F54
monochromatic
#391340 #632070 #8D2E9F #B342C8 #C671D6

Accessibility & contrast

On white

6.94
#8D2E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8D2E9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2E9F
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2E9F#FFFFFF#000000##FFFFFF
##8D2E9F1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#3A5D9C
Tritanopia (blue-blind)
#8E4363
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d2e9f;
/* rgb */ color: rgb(141, 46, 159);
/* oklch */ color: oklch(49.0% 0.187 320.8);
Tailwind
colors: {
  custom: {
    50: '#b270bc',
    500: '#8d2e9f',
    950: '#000000',
  },
}
SCSS
$custom: #8d2e9f;
$custom-light: #b270bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2e9f",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 290.442,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49016,
    "c": 0.18678,
    "h": 320.8
  },
  "luminance": 0.1012
}

Semantic roles & 50–950 ramp

primary
#8D2E9F
secondary
#78BE6B
accent
#DE4961
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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