#8F2284#8F2284

#8F2284 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.6% C 0.179 H 332.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#8F2284
RGBrgb(143, 34, 132)
HSLhsl(306, 62%, 35%)
HSVhsv(306, 76%, 56%)
CMYKcmyk(0%, 76.2%, 7.7%, 43.9%)
CIE-LABlab(35.30, 55.31, -30.05)
CIE-LCHlch(35.30, 62.95, 331.49°)
OKLaboklab(46.6% 0.1592 -0.0826)
OKLCHoklch(46.6% 0.179 332.6)
XYZxyz(16.0646, 8.6510, 22.6490)
Luminance0.0865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2284 #228F2D
analogous
#64228F #8F2284 #8F224E
triadic
#8F2284 #848F22 #22848F
tetradic
#8F2284 #8F6422 #228F2D #224E8F
square
#8F2284 #8F6422 #228F2D #224E8F
split-complementary
#8F2284 #4E8F22 #228F64
monochromatic
#2C0A29 #5E1656 #8F2284 #C02EB2 #D755C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F2284#FFFFFF#000000##FFFFFF
##8F22841.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)
#1C4987
Deuteranopia (green-blind)
#465881
Tritanopia (blue-blind)
#952E51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f2284;
/* rgb */ color: rgb(143, 34, 132);
/* oklch */ color: oklch(46.6% 0.179 332.6);
Tailwind
colors: {
  custom: {
    50: '#b36aa8',
    500: '#8f2284',
    950: '#000000',
  },
}
SCSS
$custom: #8f2284;
$custom-light: #b36aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2284",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 306.055,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46602,
    "c": 0.17937,
    "h": 332.6
  },
  "luminance": 0.0865
}

Semantic roles & 50–950 ramp

primary
#8F2284
secondary
#52BA5D
accent
#E55343
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F2284

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

Preview Lab → · Contrast checker → · Palette generator →

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