#8D1E9B#8D1E9B

#8D1E9B is a mid, highly saturated purple. Relative luminance 0.090; OKLCH L 47.4% C 0.200 H 322.9°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#8D1E9B
RGBrgb(141, 30, 155)
HSLhsl(293, 68%, 36%)
HSVhsv(293, 81%, 61%)
CMYKcmyk(9%, 80.6%, 0%, 39.2%)
CIE-LABlab(35.91, 59.98, -43.23)
CIE-LCHlch(35.91, 73.94, 324.22°)
OKLaboklab(47.4% 0.1597 -0.1209)
OKLCHoklch(47.4% 0.2 322.9)
XYZxyz(17.3646, 8.9589, 31.8186)
Luminance0.0896 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1E9B #2C9B1E
analogous
#4F1E9B #8D1E9B #9B1E6B
triadic
#8D1E9B #9B8D1E #1E9B8D
tetradic
#8D1E9B #9B4F1E #2C9B1E #1E6B9B
square
#8D1E9B #9B4F1E #2C9B1E #1E6B9B
split-complementary
#8D1E9B #6B9B1E #1E9B4F
monochromatic
#300A34 #5E1468 #8D1E9B #BC28CE #CF55DE

Accessibility & contrast

On white

7.52
#8D1E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8D1E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1E9B
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1E9B#FFFFFF#000000##FFFFFF
##8D1E9B1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#345998
Tritanopia (blue-blind)
#8F385D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d1e9b;
/* rgb */ color: rgb(141, 30, 155);
/* oklch */ color: oklch(47.4% 0.200 322.9);
Tailwind
colors: {
  custom: {
    50: '#b269b9',
    500: '#8d1e9b',
    950: '#000000',
  },
}
SCSS
$custom: #8d1e9b;
$custom-light: #b269b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1e9b",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 293.28,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47404,
    "c": 0.20034,
    "h": 322.9
  },
  "luminance": 0.08958
}

Semantic roles & 50–950 ramp

primary
#8D1E9B
secondary
#60C253
accent
#EA3D51
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D1E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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