#8F1F93#8F1F93

#8F1F93 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.3% C 0.194 H 326.6°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#8F1F93
RGBrgb(143, 31, 147)
HSLhsl(298, 65%, 35%)
HSVhsv(298, 79%, 58%)
CMYKcmyk(2.7%, 78.9%, 0%, 42.4%)
CIE-LABlab(35.84, 58.71, -38.43)
CIE-LCHlch(35.84, 70.17, 326.79°)
OKLaboklab(47.27% 0.1618 -0.1069)
OKLCHoklch(47.27% 0.194 326.6)
XYZxyz(17.0838, 8.9274, 28.4215)
Luminance0.0893 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1F93 #23931F
analogous
#551F93 #8F1F93 #931F5D
triadic
#8F1F93 #938F1F #1F938F
tetradic
#8F1F93 #93551F #23931F #1F5D93
square
#8F1F93 #93551F #23931F #1F5D93
split-complementary
#8F1F93 #5D931F #1F9355
monochromatic
#2D0A2E #5E1460 #8F1F93 #C02AC6 #D652DA

Accessibility & contrast

On white

7.54
#8F1F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1F93
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1F93#FFFFFF#000000##FFFFFF
##8F1F931.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#3D5990
Tritanopia (blue-blind)
#933459
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f1f93;
/* rgb */ color: rgb(143, 31, 147);
/* oklch */ color: oklch(47.3% 0.194 326.6);
Tailwind
colors: {
  custom: {
    50: '#b469b3',
    500: '#8f1f93',
    950: '#000000',
  },
}
SCSS
$custom: #8f1f93;
$custom-light: #b469b3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1f93",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 297.931,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47266,
    "c": 0.19393,
    "h": 326.6
  },
  "luminance": 0.08926
}

Semantic roles & 50–950 ramp

primary
#8F1F93
secondary
#54BE50
accent
#E84045
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F1F93

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

Preview Lab → · Contrast checker → · Palette generator →

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