#8F2283#8F2283

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

Color values

HEX#8F2283
RGBrgb(143, 34, 131)
HSLhsl(307, 62%, 35%)
HSVhsv(307, 76%, 56%)
CMYKcmyk(0%, 76.2%, 8.4%, 43.9%)
CIE-LABlab(35.25, 55.15, -29.51)
CIE-LCHlch(35.25, 62.55, 331.85°)
OKLaboklab(46.55% 0.1592 -0.081)
OKLCHoklch(46.55% 0.179 333)
XYZxyz(15.9965, 8.6237, 22.2904)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2283 #228F2E
analogous
#65228F #8F2283 #8F224C
triadic
#8F2283 #838F22 #22838F
tetradic
#8F2283 #8F6522 #228F2E #224C8F
square
#8F2283 #8F6522 #228F2E #224C8F
split-complementary
#8F2283 #4C8F22 #228F65
monochromatic
#2C0A28 #5E1656 #8F2283 #C02EB0 #D755C8

Accessibility & contrast

On white

7.71
#8F2283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F2283
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2283#FFFFFF#000000##FFFFFF
##8F22831.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4986
Deuteranopia (green-blind)
#475880
Tritanopia (blue-blind)
#962E51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f2283;
/* rgb */ color: rgb(143, 34, 131);
/* oklch */ color: oklch(46.5% 0.179 333.0);
Tailwind
colors: {
  custom: {
    50: '#b369a7',
    500: '#8f2283',
    950: '#000000',
  },
}
SCSS
$custom: #8f2283;
$custom-light: #b369a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2283",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 306.606,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46546,
    "c": 0.17863,
    "h": 333
  },
  "luminance": 0.08622
}

Semantic roles & 50–950 ramp

primary
#8F2283
secondary
#52BA5E
accent
#E55543
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F2283

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

Preview Lab → · Contrast checker → · Palette generator →

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