#8D1C94#8D1C94

#8D1C94 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.8% C 0.197 H 325.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#8D1C94
RGBrgb(141, 28, 148)
HSLhsl(297, 68%, 35%)
HSVhsv(297, 81%, 58%)
CMYKcmyk(4.7%, 81.1%, 0%, 42%)
CIE-LABlab(35.27, 59.32, -39.99)
CIE-LCHlch(35.27, 71.54, 326.02°)
OKLaboklab(46.81% 0.1619 -0.1114)
OKLCHoklch(46.81% 0.197 325.5)
XYZxyz(16.7447, 8.6325, 28.7955)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1C94 #23941C
analogous
#511C94 #8D1C94 #941C5F
triadic
#8D1C94 #948D1C #1C948D
tetradic
#8D1C94 #94511C #23941C #1C5F94
square
#8D1C94 #94511C #23941C #1C5F94
split-complementary
#8D1C94 #5F941C #1C9451
monochromatic
#2B092D #5C1261 #8D1C94 #BE26C7 #D54DDD

Accessibility & contrast

On white

7.70
#8D1C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8D1C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1C94
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1C94#FFFFFF#000000##FFFFFF
##8D1C941.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d1c94;
/* rgb */ color: rgb(141, 28, 148);
/* oklch */ color: oklch(46.8% 0.197 325.5);
Tailwind
colors: {
  custom: {
    50: '#b268b4',
    500: '#8d1c94',
    950: '#000000',
  },
}
SCSS
$custom: #8d1c94;
$custom-light: #b268b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1c94",
  "rgb": {
    "r": 141,
    "g": 28,
    "b": 148
  },
  "hsl": {
    "h": 296.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4681,
    "c": 0.19654,
    "h": 325.5
  },
  "luminance": 0.08631
}

Semantic roles & 50–950 ramp

primary
#8D1C94
secondary
#53C04C
accent
#EB3D47
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D1C94

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

Preview Lab → · Contrast checker → · Palette generator →

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