#8F1A93#8F1A93

#8F1A93 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.9% C 0.198 H 326.6°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#8F1A93
RGBrgb(143, 26, 147)
HSLhsl(298, 70%, 34%)
HSVhsv(298, 82%, 58%)
CMYKcmyk(2.7%, 82.3%, 0%, 42.4%)
CIE-LABlab(35.37, 60.07, -39.18)
CIE-LCHlch(35.37, 71.72, 326.89°)
OKLaboklab(46.93% 0.1657 -0.109)
OKLCHoklch(46.93% 0.198 326.6)
XYZxyz(16.9632, 8.6862, 28.3813)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1A93 #1E931A
analogous
#531A93 #8F1A93 #931A5B
triadic
#8F1A93 #938F1A #1A938F
tetradic
#8F1A93 #93531A #1E931A #1A5B93
square
#8F1A93 #93531A #1E931A #1A5B93
split-complementary
#8F1A93 #5B931A #1A9353
monochromatic
#2A082B #5C115F #8F1A93 #C223C7 #DA49DF

Accessibility & contrast

On white

7.67
#8F1A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8F1A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1A93
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1A93#FFFFFF#000000##FFFFFF
##8F1A931.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A96
Deuteranopia (green-blind)
#3B5890
Tritanopia (blue-blind)
#933158
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f1a93;
/* rgb */ color: rgb(143, 26, 147);
/* oklch */ color: oklch(46.9% 0.198 326.6);
Tailwind
colors: {
  custom: {
    50: '#b467b3',
    500: '#8f1a93',
    950: '#000000',
  },
}
SCSS
$custom: #8f1a93;
$custom-light: #b467b3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1a93",
  "rgb": {
    "r": 143,
    "g": 26,
    "b": 147
  },
  "hsl": {
    "h": 298.017,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46932,
    "c": 0.19831,
    "h": 326.6
  },
  "luminance": 0.08685
}

Semantic roles & 50–950 ramp

primary
#8F1A93
secondary
#4CC048
accent
#ED3B41
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#120711
muted
#817A80

Preview Lab

Preview with #8F1A93

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

Preview Lab → · Contrast checker → · Palette generator →

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