#8F219B#8F219B

#8F219B is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.198 H 323.6°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8F219B
RGBrgb(143, 33, 155)
HSLhsl(294, 65%, 37%)
HSVhsv(294, 79%, 61%)
CMYKcmyk(7.7%, 78.7%, 0%, 39.2%)
CIE-LABlab(36.55, 59.50, -42.18)
CIE-LCHlch(36.55, 72.94, 324.67°)
OKLaboklab(47.92% 0.1596 -0.1178)
OKLCHoklch(47.92% 0.198 323.6)
XYZxyz(17.7874, 9.2950, 31.8612)
Luminance0.0929 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F219B #2D9B21
analogous
#52219B #8F219B #9B216A
triadic
#8F219B #9B8F21 #219B8F
tetradic
#8F219B #9B5221 #2D9B21 #216A9B
square
#8F219B #9B5221 #2D9B21 #216A9B
split-complementary
#8F219B #6A9B21 #219B52
monochromatic
#320C36 #601669 #8F219B #BE2CCD #CF5ADC

Accessibility & contrast

On white

7.35
#8F219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8F219B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F219B
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F219B#FFFFFF#000000##FFFFFF
##8F219B1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#385A98
Tritanopia (blue-blind)
#91395E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f219b;
/* rgb */ color: rgb(143, 33, 155);
/* oklch */ color: oklch(47.9% 0.198 323.6);
Tailwind
colors: {
  custom: {
    50: '#b46ab9',
    500: '#8f219b',
    950: '#000000',
  },
}
SCSS
$custom: #8f219b;
$custom-light: #b46ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f219b",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 294.098,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47923,
    "c": 0.19842,
    "h": 323.6
  },
  "luminance": 0.09294
}

Semantic roles & 50–950 ramp

primary
#8F219B
secondary
#62C058
accent
#E84050
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F219B

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

Preview Lab → · Contrast checker → · Palette generator →

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