#8D2B9B#8D2B9B

#8D2B9B is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.187 H 322.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8D2B9B
RGBrgb(141, 43, 155)
HSLhsl(293, 57%, 39%)
HSVhsv(293, 72%, 61%)
CMYKcmyk(9%, 72.3%, 0%, 39.2%)
CIE-LABlab(37.40, 55.68, -40.83)
CIE-LCHlch(37.40, 69.05, 323.75°)
OKLaboklab(48.47% 0.148 -0.114)
OKLCHoklch(48.47% 0.187 322.4)
XYZxyz(17.7642, 9.7580, 31.9518)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2B9B #399B2B
analogous
#552B9B #8D2B9B #9B2B71
triadic
#8D2B9B #9B8D2B #2B9B8D
tetradic
#8D2B9B #9B552B #399B2B #2B719B
square
#8D2B9B #9B552B #399B2B #2B719B
split-complementary
#8D2B9B #719B2B #2B9B55
monochromatic
#36103B #611E6B #8D2B9B #B73BC9 #C86BD6

Accessibility & contrast

On white

7.12
#8D2B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8D2B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2B9B
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2B9B#FFFFFF#000000##FFFFFF
##8D2B9B1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#3B5C98
Tritanopia (blue-blind)
#8F3F60
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d2b9b;
/* rgb */ color: rgb(141, 43, 155);
/* oklch */ color: oklch(48.5% 0.187 322.4);
Tailwind
colors: {
  custom: {
    50: '#b26eb9',
    500: '#8d2b9b',
    950: '#000000',
  },
}
SCSS
$custom: #8d2b9b;
$custom-light: #b26eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2b9b",
  "rgb": {
    "r": 141,
    "g": 43,
    "b": 155
  },
  "hsl": {
    "h": 292.5,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4847,
    "c": 0.18686,
    "h": 322.4
  },
  "luminance": 0.09757
}

Semantic roles & 50–950 ramp

primary
#8D2B9B
secondary
#70BC65
accent
#E0485B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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