#8D1E94#8D1E94

#8D1E94 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.9% C 0.195 H 325.4°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8D1E94
RGBrgb(141, 30, 148)
HSLhsl(296, 66%, 35%)
HSVhsv(296, 80%, 58%)
CMYKcmyk(4.7%, 79.7%, 0%, 42%)
CIE-LABlab(35.46, 58.76, -39.68)
CIE-LCHlch(35.46, 70.90, 325.97°)
OKLaboklab(46.95% 0.1603 -0.1105)
OKLCHoklch(46.95% 0.195 325.4)
XYZxyz(16.7937, 8.7305, 28.8119)
Luminance0.0873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1E94 #25941E
analogous
#521E94 #8D1E94 #941E60
triadic
#8D1E94 #948D1E #1E948D
tetradic
#8D1E94 #94521E #25941E #1E6094
square
#8D1E94 #94521E #25941E #1E6094
split-complementary
#8D1E94 #60941E #1E9452
monochromatic
#2C092E #5D1461 #8D1E94 #BD28C7 #D351DC

Accessibility & contrast

On white

7.65
#8D1E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8D1E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1E94
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1E94#FFFFFF#000000##FFFFFF
##8D1E941.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#395891
Tritanopia (blue-blind)
#903459
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d1e94;
/* rgb */ color: rgb(141, 30, 148);
/* oklch */ color: oklch(46.9% 0.195 325.4);
Tailwind
colors: {
  custom: {
    50: '#b268b4',
    500: '#8d1e94',
    950: '#000000',
  },
}
SCSS
$custom: #8d1e94;
$custom-light: #b268b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1e94",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 148
  },
  "hsl": {
    "h": 296.441,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46947,
    "c": 0.19476,
    "h": 325.4
  },
  "luminance": 0.08729
}

Semantic roles & 50–950 ramp

primary
#8D1E94
secondary
#56BF4F
accent
#E93F49
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D1E94

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

Preview Lab → · Contrast checker → · Palette generator →

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