#8F2181#8F2181

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

Color values

HEX#8F2181
RGBrgb(143, 33, 129)
HSLhsl(308, 63%, 35%)
HSVhsv(308, 77%, 56%)
CMYKcmyk(0%, 76.9%, 9.8%, 43.9%)
CIE-LABlab(35.03, 55.16, -28.61)
CIE-LCHlch(35.03, 62.14, 332.58°)
OKLaboklab(46.35% 0.16 -0.0784)
OKLCHoklch(46.35% 0.178 333.9)
XYZxyz(15.8341, 8.5137, 21.5740)
Luminance0.0851 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2181 #218F2F
analogous
#66218F #8F2181 #8F214A
triadic
#8F2181 #818F21 #21818F
tetradic
#8F2181 #8F6621 #218F2F #214A8F
square
#8F2181 #8F6621 #218F2F #214A8F
split-complementary
#8F2181 #4A8F21 #218F66
monochromatic
#2C0A27 #5D1654 #8F2181 #C12CAE #D753C6

Accessibility & contrast

On white

7.77
#8F2181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8F2181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2181
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2181#FFFFFF#000000##FFFFFF
##8F21811.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4884
Deuteranopia (green-blind)
#48587E
Tritanopia (blue-blind)
#962C4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f2181;
/* rgb */ color: rgb(143, 33, 129);
/* oklch */ color: oklch(46.4% 0.178 333.9);
Tailwind
colors: {
  custom: {
    50: '#b369a6',
    500: '#8f2181',
    950: '#000000',
  },
}
SCSS
$custom: #8f2181;
$custom-light: #b369a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2181",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 307.636,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46354,
    "c": 0.17821,
    "h": 333.9
  },
  "luminance": 0.08512
}

Semantic roles & 50–950 ramp

primary
#8F2181
secondary
#51BB5E
accent
#E65742
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F2181

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

Preview Lab → · Contrast checker → · Palette generator →

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