#8F1C94#8F1C94

#8F1C94 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.1% C 0.197 H 326.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#8F1C94
RGBrgb(143, 28, 148)
HSLhsl(298, 68%, 35%)
HSVhsv(298, 81%, 58%)
CMYKcmyk(3.4%, 81.1%, 0%, 42%)
CIE-LABlab(35.61, 59.72, -39.41)
CIE-LCHlch(35.61, 71.55, 326.58°)
OKLaboklab(47.12% 0.1641 -0.1097)
OKLCHoklch(47.12% 0.197 326.2)
XYZxyz(17.0879, 8.8095, 28.8116)
Luminance0.0881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1C94 #21941C
analogous
#531C94 #8F1C94 #941C5D
triadic
#8F1C94 #948F1C #1C948F
tetradic
#8F1C94 #94531C #21941C #1C5D94
square
#8F1C94 #94531C #21941C #1C5D94
split-complementary
#8F1C94 #5D941C #1C9453
monochromatic
#2C092D #5D1261 #8F1C94 #C126C7 #D74DDD

Accessibility & contrast

On white

7.60
#8F1C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1C94
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1C94#FFFFFF#000000##FFFFFF
##8F1C941.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f1c94;
/* rgb */ color: rgb(143, 28, 148);
/* oklch */ color: oklch(47.1% 0.197 326.2);
Tailwind
colors: {
  custom: {
    50: '#b468b4',
    500: '#8f1c94',
    950: '#000000',
  },
}
SCSS
$custom: #8f1c94;
$custom-light: #b468b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1c94",
  "rgb": {
    "r": 143,
    "g": 28,
    "b": 148
  },
  "hsl": {
    "h": 297.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.47123,
    "c": 0.19741,
    "h": 326.2
  },
  "luminance": 0.08808
}

Semantic roles & 50–950 ramp

primary
#8F1C94
secondary
#51C04C
accent
#EB3D44
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#120711
muted
#817A80

Preview Lab

Preview with #8F1C94

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

Preview Lab → · Contrast checker → · Palette generator →

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