#8D1F94#8D1F94

#8D1F94 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.0% C 0.194 H 325.4°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#8D1F94
RGBrgb(141, 31, 148)
HSLhsl(296, 65%, 35%)
HSVhsv(296, 79%, 58%)
CMYKcmyk(4.7%, 79.1%, 0%, 42%)
CIE-LABlab(35.56, 58.47, -39.52)
CIE-LCHlch(35.56, 70.57, 325.95°)
OKLaboklab(47.02% 0.1595 -0.1101)
OKLCHoklch(47.02% 0.194 325.4)
XYZxyz(16.8194, 8.7819, 28.8204)
Luminance0.0878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F94 #26941F
analogous
#521F94 #8D1F94 #941F61
triadic
#8D1F94 #948D1F #1F948D
tetradic
#8D1F94 #94521F #26941F #1F6194
square
#8D1F94 #94521F #26941F #1F6194
split-complementary
#8D1F94 #61941F #1F9452
monochromatic
#2D0A2F #5D1461 #8D1F94 #BD2AC7 #D353DB

Accessibility & contrast

On white

7.62
#8D1F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8D1F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F94
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F94#FFFFFF#000000##FFFFFF
##8D1F941.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#3A5891
Tritanopia (blue-blind)
#903559
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d1f94;
/* rgb */ color: rgb(141, 31, 148);
/* oklch */ color: oklch(47.0% 0.194 325.4);
Tailwind
colors: {
  custom: {
    50: '#b269b4',
    500: '#8d1f94',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f94;
$custom-light: #b269b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f94",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 296.41,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47018,
    "c": 0.19383,
    "h": 325.4
  },
  "luminance": 0.08781
}

Semantic roles & 50–950 ramp

primary
#8D1F94
secondary
#57BE51
accent
#E83F4A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D1F94

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

Preview Lab → · Contrast checker → · Palette generator →

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