#8D2E9C#8D2E9C

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

Color values

HEX#8D2E9C
RGBrgb(141, 46, 156)
HSLhsl(292, 54%, 40%)
HSVhsv(292, 71%, 61%)
CMYKcmyk(9.6%, 70.5%, 0%, 38.8%)
CIE-LABlab(37.87, 54.71, -40.68)
CIE-LCHlch(37.87, 68.18, 323.36°)
OKLaboklab(48.83% 0.1449 -0.1136)
OKLCHoklch(48.83% 0.184 321.9)
XYZxyz(17.9616, 10.0180, 32.4336)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2E9C #3D9C2E
analogous
#562E9C #8D2E9C #9C2E74
triadic
#8D2E9C #9C8D2E #2E9C8D
tetradic
#8D2E9C #9C562E #3D9C2E #2E749C
square
#8D2E9C #9C562E #3D9C2E #2E749C
split-complementary
#8D2E9C #749C2E #2E9C56
monochromatic
#38123D #62206D #8D2E9C #B440C7 #C770D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D2E9C#FFFFFF#000000##FFFFFF
##8D2E9C1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04529F
Deuteranopia (green-blind)
#3C5D99
Tritanopia (blue-blind)
#8F4162
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d2e9c;
/* rgb */ color: rgb(141, 46, 156);
/* oklch */ color: oklch(48.8% 0.184 321.9);
Tailwind
colors: {
  custom: {
    50: '#b26fba',
    500: '#8d2e9c',
    950: '#000000',
  },
}
SCSS
$custom: #8d2e9c;
$custom-light: #b26fba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2e9c",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 156
  },
  "hsl": {
    "h": 291.818,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48826,
    "c": 0.18411,
    "h": 321.9
  },
  "luminance": 0.10017
}

Semantic roles & 50–950 ramp

primary
#8D2E9C
secondary
#75BC6A
accent
#DE4A5E
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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