#8D2E9D#8D2E9D

#8D2E9D is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.9% C 0.185 H 321.5°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8D2E9D
RGBrgb(141, 46, 157)
HSLhsl(291, 55%, 40%)
HSVhsv(291, 71%, 62%)
CMYKcmyk(10.2%, 70.7%, 0%, 38.4%)
CIE-LABlab(37.94, 54.90, -41.19)
CIE-LCHlch(37.94, 68.63, 323.12°)
OKLaboklab(48.89% 0.1448 -0.1151)
OKLCHoklch(48.89% 0.185 321.5)
XYZxyz(18.0466, 10.0520, 32.8814)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2E9D #3E9D2E
analogous
#552E9D #8D2E9D #9D2E76
triadic
#8D2E9D #9D8D2E #2E9D8D
tetradic
#8D2E9D #9D552E #3E9D2E #2E769D
square
#8D2E9D #9D552E #3E9D2E #2E769D
split-complementary
#8D2E9D #769D2E #2E9D55
monochromatic
#38123E #62206E #8D2E9D #B441C7 #C770D5

Accessibility & contrast

On white

6.98
#8D2E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D2E9D
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2E9D#FFFFFF#000000##FFFFFF
##8D2E9D1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0152A0
Deuteranopia (green-blind)
#3C5D9A
Tritanopia (blue-blind)
#8E4262
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d2e9d;
/* rgb */ color: rgb(141, 46, 157);
/* oklch */ color: oklch(48.9% 0.185 321.5);
Tailwind
colors: {
  custom: {
    50: '#b270ba',
    500: '#8d2e9d',
    950: '#000000',
  },
}
SCSS
$custom: #8d2e9d;
$custom-light: #b270ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2e9d",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 291.351,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48889,
    "c": 0.18499,
    "h": 321.5
  },
  "luminance": 0.10051
}

Semantic roles & 50–950 ramp

primary
#8D2E9D
secondary
#76BD6A
accent
#DE4A5F
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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