#8F1A92#8F1A92

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

Color values

HEX#8F1A92
RGBrgb(143, 26, 146)
HSLhsl(299, 70%, 34%)
HSVhsv(299, 82%, 57%)
CMYKcmyk(2.1%, 82.2%, 0%, 42.7%)
CIE-LABlab(35.31, 59.91, -38.67)
CIE-LCHlch(35.31, 71.30, 327.16°)
OKLaboklab(46.87% 0.1657 -0.1075)
OKLCHoklch(46.87% 0.198 327)
XYZxyz(16.8851, 8.6550, 27.9698)
Luminance0.0865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1A92 #1D921A
analogous
#531A92 #8F1A92 #921A59
triadic
#8F1A92 #928F1A #1A928F
tetradic
#8F1A92 #92531A #1D921A #1A5992
square
#8F1A92 #92531A #1D921A #1A5992
split-complementary
#8F1A92 #59921A #1A9253
monochromatic
#29072A #5C115E #8F1A92 #C223C6 #DB48DE

Accessibility & contrast

On white

7.69
#8F1A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8F1A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1A92
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1A92#FFFFFF#000000##FFFFFF
##8F1A921.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A95
Deuteranopia (green-blind)
#3B588F
Tritanopia (blue-blind)
#933157
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f1a92;
/* rgb */ color: rgb(143, 26, 146);
/* oklch */ color: oklch(46.9% 0.198 327.0);
Tailwind
colors: {
  custom: {
    50: '#b467b2',
    500: '#8f1a92',
    950: '#000000',
  },
}
SCSS
$custom: #8f1a92;
$custom-light: #b467b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1a92",
  "rgb": {
    "r": 143,
    "g": 26,
    "b": 146
  },
  "hsl": {
    "h": 298.5,
    "s": 69.767,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46868,
    "c": 0.19755,
    "h": 327
  },
  "luminance": 0.08654
}

Semantic roles & 50–950 ramp

primary
#8F1A92
secondary
#4BC048
accent
#ED3B40
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#120711
muted
#817A80

Preview Lab

Preview with #8F1A92

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

Preview Lab → · Contrast checker → · Palette generator →

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