#8F2280#8F2280

#8F2280 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.176 H 334.3°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#8F2280
RGBrgb(143, 34, 128)
HSLhsl(308, 62%, 35%)
HSVhsv(308, 76%, 56%)
CMYKcmyk(0%, 76.2%, 10.5%, 43.9%)
CIE-LABlab(35.09, 54.68, -27.90)
CIE-LCHlch(35.09, 61.39, 332.97°)
OKLaboklab(46.38% 0.159 -0.0764)
OKLCHoklch(46.38% 0.176 334.3)
XYZxyz(15.7962, 8.5436, 21.2350)
Luminance0.0854 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2280 #228F31
analogous
#68228F #8F2280 #8F224A
triadic
#8F2280 #808F22 #22808F
tetradic
#8F2280 #8F6822 #228F31 #224A8F
square
#8F2280 #8F6822 #228F31 #224A8F
split-complementary
#8F2280 #4A8F22 #228F68
monochromatic
#2C0A27 #5E1654 #8F2280 #C02EAC #D755C5

Accessibility & contrast

On white

7.75
#8F2280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8F2280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2280
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2280#FFFFFF#000000##FFFFFF
##8F22801.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204883
Deuteranopia (green-blind)
#48587D
Tritanopia (blue-blind)
#962C4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f2280;
/* rgb */ color: rgb(143, 34, 128);
/* oklch */ color: oklch(46.4% 0.176 334.3);
Tailwind
colors: {
  custom: {
    50: '#b369a5',
    500: '#8f2280',
    950: '#000000',
  },
}
SCSS
$custom: #8f2280;
$custom-light: #b369a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2280",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 308.257,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4638,
    "c": 0.1764,
    "h": 334.3
  },
  "luminance": 0.08542
}

Semantic roles & 50–950 ramp

primary
#8F2280
secondary
#52BA61
accent
#E55943
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F2280

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

Preview Lab → · Contrast checker → · Palette generator →

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