#8F218B#8F218B

#8F218B is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.9% C 0.186 H 329.7°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#8F218B
RGBrgb(143, 33, 139)
HSLhsl(302, 63%, 35%)
HSVhsv(302, 77%, 56%)
CMYKcmyk(0%, 76.9%, 2.8%, 43.9%)
CIE-LABlab(35.58, 56.77, -33.94)
CIE-LCHlch(35.58, 66.14, 329.13°)
OKLaboklab(46.93% 0.1603 -0.0938)
OKLCHoklch(46.93% 0.186 329.7)
XYZxyz(16.5316, 8.7927, 25.2476)
Luminance0.0879 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F218B #218F25
analogous
#5C218F #8F218B #8F2154
triadic
#8F218B #8B8F21 #218B8F
tetradic
#8F218B #8F5C21 #218F25 #21548F
square
#8F218B #8F5C21 #218F25 #21548F
split-complementary
#8F218B #548F21 #218F5C
monochromatic
#2C0A2A #5D165B #8F218B #C12CBB #D753D3

Accessibility & contrast

On white

7.61
#8F218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8F218B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F218B
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F218B#FFFFFF#000000##FFFFFF
##8F218B1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4A8E
Deuteranopia (green-blind)
#425988
Tritanopia (blue-blind)
#943155
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f218b;
/* rgb */ color: rgb(143, 33, 139);
/* oklch */ color: oklch(46.9% 0.186 329.7);
Tailwind
colors: {
  custom: {
    50: '#b369ad',
    500: '#8f218b',
    950: '#000000',
  },
}
SCSS
$custom: #8f218b;
$custom-light: #b369ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8f218b",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 302.182,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46927,
    "c": 0.18576,
    "h": 329.7
  },
  "luminance": 0.08791
}

Semantic roles & 50–950 ramp

primary
#8F218B
secondary
#51BB55
accent
#E64842
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F218B

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

Preview Lab → · Contrast checker → · Palette generator →

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