#8F1F94#8F1F94

#8F1F94 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.195 H 326.2°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#8F1F94
RGBrgb(143, 31, 148)
HSLhsl(297, 65%, 35%)
HSVhsv(297, 79%, 58%)
CMYKcmyk(3.4%, 79.1%, 0%, 42%)
CIE-LABlab(35.91, 58.88, -38.95)
CIE-LCHlch(35.91, 70.59, 326.52°)
OKLaboklab(47.33% 0.1618 -0.1084)
OKLCHoklch(47.33% 0.195 326.2)
XYZxyz(17.1626, 8.9589, 28.8365)
Luminance0.0896 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1F94 #24941F
analogous
#551F94 #8F1F94 #941F5E
triadic
#8F1F94 #948F1F #1F948F
tetradic
#8F1F94 #94551F #24941F #1F5E94
square
#8F1F94 #94551F #24941F #1F5E94
split-complementary
#8F1F94 #5E941F #1F9455
monochromatic
#2D0A2F #5E1461 #8F1F94 #C02AC7 #D553DB

Accessibility & contrast

On white

7.52
#8F1F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1F94
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1F94#FFFFFF#000000##FFFFFF
##8F1F941.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f1f94;
/* rgb */ color: rgb(143, 31, 148);
/* oklch */ color: oklch(47.3% 0.195 326.2);
Tailwind
colors: {
  custom: {
    50: '#b469b4',
    500: '#8f1f94',
    950: '#000000',
  },
}
SCSS
$custom: #8f1f94;
$custom-light: #b469b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1f94",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 297.436,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47329,
    "c": 0.19472,
    "h": 326.2
  },
  "luminance": 0.08958
}

Semantic roles & 50–950 ramp

primary
#8F1F94
secondary
#55BE51
accent
#E83F47
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F1F94

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

Preview Lab → · Contrast checker → · Palette generator →

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