#8F2291#8F2291

#8F2291 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.189 H 327.3°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#8F2291
RGBrgb(143, 34, 145)
HSLhsl(299, 62%, 35%)
HSVhsv(299, 77%, 57%)
CMYKcmyk(1.4%, 76.6%, 0%, 43.1%)
CIE-LABlab(36.04, 57.46, -36.89)
CIE-LCHlch(36.04, 68.28, 327.29°)
OKLaboklab(47.37% 0.1594 -0.1024)
OKLCHoklch(47.37% 0.189 327.3)
XYZxyz(17.0103, 9.0292, 27.6295)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2291 #249122
analogous
#582291 #8F2291 #91225B
triadic
#8F2291 #918F22 #22918F
tetradic
#8F2291 #915822 #249122 #225B91
square
#8F2291 #915822 #249122 #225B91
split-complementary
#8F2291 #5B9122 #229158
monochromatic
#2D0B2E #5E165F #8F2291 #C02EC3 #D556D7

Accessibility & contrast

On white

7.49
#8F2291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8F2291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2291
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2291#FFFFFF#000000##FFFFFF
##8F22911.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024C94
Deuteranopia (green-blind)
#3F5A8E
Tritanopia (blue-blind)
#933558
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2291;
/* rgb */ color: rgb(143, 34, 145);
/* oklch */ color: oklch(47.4% 0.189 327.3);
Tailwind
colors: {
  custom: {
    50: '#b36ab2',
    500: '#8f2291',
    950: '#000000',
  },
}
SCSS
$custom: #8f2291;
$custom-light: #b36ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2291",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 298.919,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47367,
    "c": 0.18943,
    "h": 327.3
  },
  "luminance": 0.09028
}

Semantic roles & 50–950 ramp

primary
#8F2291
secondary
#55BB53
accent
#E54346
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2291

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

Preview Lab → · Contrast checker → · Palette generator →

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