#8F2292#8F2292

#8F2292 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.4% C 0.190 H 326.9°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#8F2292
RGBrgb(143, 34, 146)
HSLhsl(298, 62%, 35%)
HSVhsv(298, 77%, 57%)
CMYKcmyk(2.1%, 76.7%, 0%, 42.7%)
CIE-LABlab(36.10, 57.63, -37.41)
CIE-LCHlch(36.10, 68.71, 327.01°)
OKLaboklab(47.43% 0.1593 -0.1039)
OKLCHoklch(47.43% 0.19 326.9)
XYZxyz(17.0877, 9.0602, 28.0373)
Luminance0.0906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2292 #259222
analogous
#572292 #8F2292 #92225D
triadic
#8F2292 #928F22 #22928F
tetradic
#8F2292 #925722 #259222 #225D92
square
#8F2292 #925722 #259222 #225D92
split-complementary
#8F2292 #5D9222 #229257
monochromatic
#2E0B2F #5E1660 #8F2292 #C02EC4 #D457D8

Accessibility & contrast

On white

7.47
#8F2292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F2292
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2292#FFFFFF#000000##FFFFFF
##8F22921.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C95
Deuteranopia (green-blind)
#3F5A8F
Tritanopia (blue-blind)
#933559
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2292;
/* rgb */ color: rgb(143, 34, 146);
/* oklch */ color: oklch(47.4% 0.190 326.9);
Tailwind
colors: {
  custom: {
    50: '#b36ab2',
    500: '#8f2292',
    950: '#000000',
  },
}
SCSS
$custom: #8f2292;
$custom-light: #b36ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2292",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 298.393,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47429,
    "c": 0.19022,
    "h": 326.9
  },
  "luminance": 0.09059
}

Semantic roles & 50–950 ramp

primary
#8F2292
secondary
#57BC54
accent
#E54347
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2292

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

Preview Lab → · Contrast checker → · Palette generator →

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