#8F2286#8F2286

#8F2286 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.7% C 0.181 H 331.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#8F2286
RGBrgb(143, 34, 134)
HSLhsl(305, 62%, 35%)
HSVhsv(305, 76%, 56%)
CMYKcmyk(0%, 76.2%, 6.3%, 43.9%)
CIE-LABlab(35.41, 55.63, -31.12)
CIE-LCHlch(35.41, 63.74, 330.78°)
OKLaboklab(46.72% 0.1593 -0.0856)
OKLCHoklch(46.72% 0.181 331.7)
XYZxyz(16.2028, 8.7063, 23.3767)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2286 #228F2B
analogous
#62228F #8F2286 #8F2250
triadic
#8F2286 #868F22 #22868F
tetradic
#8F2286 #8F6222 #228F2B #22508F
square
#8F2286 #8F6222 #228F2B #22508F
split-complementary
#8F2286 #508F22 #228F62
monochromatic
#2C0A29 #5E1658 #8F2286 #C02EB4 #D755CC

Accessibility & contrast

On white

7.66
#8F2286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F2286
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2286#FFFFFF#000000##FFFFFF
##8F22861.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194A89
Deuteranopia (green-blind)
#455983
Tritanopia (blue-blind)
#952F52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f2286;
/* rgb */ color: rgb(143, 34, 134);
/* oklch */ color: oklch(46.7% 0.181 331.7);
Tailwind
colors: {
  custom: {
    50: '#b36aa9',
    500: '#8f2286',
    950: '#000000',
  },
}
SCSS
$custom: #8f2286;
$custom-light: #b36aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2286",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 304.954,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46715,
    "c": 0.18088,
    "h": 331.7
  },
  "luminance": 0.08705
}

Semantic roles & 50–950 ramp

primary
#8F2286
secondary
#52BA5B
accent
#E55043
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F2286

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

Preview Lab → · Contrast checker → · Palette generator →

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