#8D2D9C#8D2D9C

#8D2D9C is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.185 H 321.9°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8D2D9C
RGBrgb(141, 45, 156)
HSLhsl(292, 55%, 39%)
HSVhsv(292, 71%, 61%)
CMYKcmyk(9.6%, 71.2%, 0%, 38.8%)
CIE-LABlab(37.74, 55.10, -40.90)
CIE-LCHlch(37.74, 68.62, 323.41°)
OKLaboklab(48.73% 0.1459 -0.1142)
OKLCHoklch(48.73% 0.185 321.9)
XYZxyz(17.9230, 9.9408, 32.4207)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2D9C #3C9C2D
analogous
#562D9C #8D2D9C #9C2D74
triadic
#8D2D9C #9C8D2D #2D9C8D
tetradic
#8D2D9C #9C562D #3C9C2D #2D749C
square
#8D2D9C #9C562D #3C9C2D #2D749C
split-complementary
#8D2D9C #749C2D #2D9C56
monochromatic
#37123D #621F6D #8D2D9C #B53FC8 #C76ED5

Accessibility & contrast

On white

7.03
#8D2D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8D2D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2D9C
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2D9C#FFFFFF#000000##FFFFFF
##8D2D9C1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00529F
Deuteranopia (green-blind)
#3C5C99
Tritanopia (blue-blind)
#8F4161
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d2d9c;
/* rgb */ color: rgb(141, 45, 156);
/* oklch */ color: oklch(48.7% 0.185 321.9);
Tailwind
colors: {
  custom: {
    50: '#b26fba',
    500: '#8d2d9c',
    950: '#000000',
  },
}
SCSS
$custom: #8d2d9c;
$custom-light: #b26fba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2d9c",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 291.892,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48726,
    "c": 0.18534,
    "h": 321.9
  },
  "luminance": 0.0994
}

Semantic roles & 50–950 ramp

primary
#8D2D9C
secondary
#74BC68
accent
#DF495D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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