#8F2183#8F2183

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

Color values

HEX#8F2183
RGBrgb(143, 33, 131)
HSLhsl(307, 63%, 35%)
HSVhsv(307, 77%, 56%)
CMYKcmyk(0%, 76.9%, 8.4%, 43.9%)
CIE-LABlab(35.14, 55.47, -29.69)
CIE-LCHlch(35.14, 62.92, 331.85°)
OKLaboklab(46.47% 0.1601 -0.0815)
OKLCHoklch(46.47% 0.18 333)
XYZxyz(15.9684, 8.5674, 22.2810)
Luminance0.0857 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2183 #218F2D
analogous
#64218F #8F2183 #8F214C
triadic
#8F2183 #838F21 #21838F
tetradic
#8F2183 #8F6421 #218F2D #214C8F
square
#8F2183 #8F6421 #218F2D #214C8F
split-complementary
#8F2183 #4C8F21 #218F64
monochromatic
#2C0A28 #5D1655 #8F2183 #C12CB1 #D753C9

Accessibility & contrast

On white

7.74
#8F2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F2183
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2183#FFFFFF#000000##FFFFFF
##8F21831.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f2183;
/* rgb */ color: rgb(143, 33, 131);
/* oklch */ color: oklch(46.5% 0.180 333.0);
Tailwind
colors: {
  custom: {
    50: '#b369a7',
    500: '#8f2183',
    950: '#000000',
  },
}
SCSS
$custom: #8f2183;
$custom-light: #b369a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2183",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 306.545,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46465,
    "c": 0.17969,
    "h": 333
  },
  "luminance": 0.08566
}

Semantic roles & 50–950 ramp

primary
#8F2183
secondary
#51BB5C
accent
#E65442
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F2183

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

Preview Lab → · Contrast checker → · Palette generator →

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