#8F2282#8F2282

#8F2282 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.5% C 0.178 H 333.5°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#8F2282
RGBrgb(143, 34, 130)
HSLhsl(307, 62%, 35%)
HSVhsv(307, 76%, 56%)
CMYKcmyk(0%, 76.2%, 9.1%, 43.9%)
CIE-LABlab(35.20, 55.00, -28.97)
CIE-LCHlch(35.20, 62.16, 332.22°)
OKLaboklab(46.49% 0.1591 -0.0795)
OKLCHoklch(46.49% 0.178 333.5)
XYZxyz(15.9291, 8.5968, 21.9352)
Luminance0.0859 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2282 #228F2F
analogous
#66228F #8F2282 #8F224C
triadic
#8F2282 #828F22 #22828F
tetradic
#8F2282 #8F6622 #228F2F #224C8F
square
#8F2282 #8F6622 #228F2F #224C8F
split-complementary
#8F2282 #4C8F22 #228F66
monochromatic
#2C0A28 #5E1655 #8F2282 #C02EAF #D755C7

Accessibility & contrast

On white

7.72
#8F2282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8F2282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2282
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2282#FFFFFF#000000##FFFFFF
##8F22821.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4985
Deuteranopia (green-blind)
#47587F
Tritanopia (blue-blind)
#962D50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f2282;
/* rgb */ color: rgb(143, 34, 130);
/* oklch */ color: oklch(46.5% 0.178 333.5);
Tailwind
colors: {
  custom: {
    50: '#b369a6',
    500: '#8f2282',
    950: '#000000',
  },
}
SCSS
$custom: #8f2282;
$custom-light: #b369a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2282",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 307.156,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4649,
    "c": 0.17788,
    "h": 333.5
  },
  "luminance": 0.08595
}

Semantic roles & 50–950 ramp

primary
#8F2282
secondary
#52BA5F
accent
#E55643
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F2282

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

Preview Lab → · Contrast checker → · Palette generator →

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