#8F1F92#8F1F92

#8F1F92 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.193 H 326.9°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#8F1F92
RGBrgb(143, 31, 146)
HSLhsl(298, 65%, 35%)
HSVhsv(298, 79%, 57%)
CMYKcmyk(2.1%, 78.8%, 0%, 42.7%)
CIE-LABlab(35.78, 58.54, -37.92)
CIE-LCHlch(35.78, 69.75, 327.07°)
OKLaboklab(47.2% 0.1619 -0.1054)
OKLCHoklch(47.2% 0.193 326.9)
XYZxyz(17.0057, 8.8962, 28.0100)
Luminance0.0890 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1F92 #22921F
analogous
#561F92 #8F1F92 #921F5B
triadic
#8F1F92 #928F1F #1F928F
tetradic
#8F1F92 #92561F #22921F #1F5B92
square
#8F1F92 #92561F #22921F #1F5B92
split-complementary
#8F1F92 #5B921F #1F9256
monochromatic
#2C0A2D #5E1460 #8F1F92 #C02AC4 #D751DA

Accessibility & contrast

On white

7.56
#8F1F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8F1F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1F92
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1F92#FFFFFF#000000##FFFFFF
##8F1F921.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#3D598F
Tritanopia (blue-blind)
#933358
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f1f92;
/* rgb */ color: rgb(143, 31, 146);
/* oklch */ color: oklch(47.2% 0.193 326.9);
Tailwind
colors: {
  custom: {
    50: '#b469b2',
    500: '#8f1f92',
    950: '#000000',
  },
}
SCSS
$custom: #8f1f92;
$custom-light: #b469b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1f92",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 146
  },
  "hsl": {
    "h": 298.435,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47203,
    "c": 0.19315,
    "h": 326.9
  },
  "luminance": 0.08895
}

Semantic roles & 50–950 ramp

primary
#8F1F92
secondary
#52BD50
accent
#E84044
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F1F92

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

Preview Lab → · Contrast checker → · Palette generator →

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