#8F219D#8F219D

#8F219D is a mid, highly saturated purple. Relative luminance 0.094; OKLCH L 48.1% C 0.200 H 322.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8F219D
RGBrgb(143, 33, 157)
HSLhsl(293, 65%, 37%)
HSVhsv(293, 79%, 62%)
CMYKcmyk(8.9%, 79%, 0%, 38.4%)
CIE-LABlab(36.67, 59.86, -43.19)
CIE-LCHlch(36.67, 73.82, 324.19°)
OKLaboklab(48.05% 0.1595 -0.1208)
OKLCHoklch(48.05% 0.2 322.9)
XYZxyz(17.9568, 9.3628, 32.7531)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F219D #2F9D21
analogous
#51219D #8F219D #9D216D
triadic
#8F219D #9D8F21 #219D8F
tetradic
#8F219D #9D5121 #2F9D21 #216D9D
square
#8F219D #9D5121 #2F9D21 #216D9D
split-complementary
#8F219D #6D9D21 #219D51
monochromatic
#330C38 #61166A #8F219D #BD2CD0 #CE5CDD

Accessibility & contrast

On white

7.31
#8F219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8F219D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F219D
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F219D#FFFFFF#000000##FFFFFF
##8F219D1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#365A9A
Tritanopia (blue-blind)
#913A5F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f219d;
/* rgb */ color: rgb(143, 33, 157);
/* oklch */ color: oklch(48.1% 0.200 322.9);
Tailwind
colors: {
  custom: {
    50: '#b46aba',
    500: '#8f219d',
    950: '#000000',
  },
}
SCSS
$custom: #8f219d;
$custom-light: #b46aba;
$custom-dark: #000000;
JSON
{
  "hex": "#8f219d",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 293.226,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48054,
    "c": 0.20004,
    "h": 322.9
  },
  "luminance": 0.09362
}

Semantic roles & 50–950 ramp

primary
#8F219D
secondary
#65C159
accent
#E84053
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #8F219D

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

Preview Lab → · Contrast checker → · Palette generator →

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