#8D1E9E#8D1E9E

#8D1E9E is a mid, highly saturated purple. Relative luminance 0.091; OKLCH L 47.6% C 0.203 H 321.8°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#8D1E9E
RGBrgb(141, 30, 158)
HSLhsl(292, 68%, 37%)
HSVhsv(292, 81%, 62%)
CMYKcmyk(10.8%, 81%, 0%, 38%)
CIE-LABlab(36.10, 60.52, -44.73)
CIE-LCHlch(36.10, 75.26, 323.53°)
OKLaboklab(47.61% 0.1594 -0.1253)
OKLCHoklch(47.61% 0.203 321.8)
XYZxyz(17.6197, 9.0609, 33.1620)
Luminance0.0906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1E9E #2F9E1E
analogous
#4D1E9E #8D1E9E #9E1E6F
triadic
#8D1E9E #9E8D1E #1E9E8D
tetradic
#8D1E9E #9E4D1E #2F9E1E #1E6F9E
square
#8D1E9E #9E4D1E #2F9E1E #1E6F9E
split-complementary
#8D1E9E #6F9E1E #1E9E4D
monochromatic
#310A37 #5F146B #8D1E9E #BB28D1 #CD57DF

Accessibility & contrast

On white

7.47
#8D1E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8D1E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1E9E
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1E9E#FFFFFF#000000##FFFFFF
##8D1E9E1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#31599B
Tritanopia (blue-blind)
#8E3A5F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d1e9e;
/* rgb */ color: rgb(141, 30, 158);
/* oklch */ color: oklch(47.6% 0.203 321.8);
Tailwind
colors: {
  custom: {
    50: '#b269bb',
    500: '#8d1e9e',
    950: '#000000',
  },
}
SCSS
$custom: #8d1e9e;
$custom-light: #b269bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1e9e",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 292.031,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47605,
    "c": 0.20275,
    "h": 321.8
  },
  "luminance": 0.0906
}

Semantic roles & 50–950 ramp

primary
#8D1E9E
secondary
#64C355
accent
#EB3D54
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8D1E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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