#8F219E#8F219E

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

Color values

HEX#8F219E
RGBrgb(143, 33, 158)
HSLhsl(293, 65%, 37%)
HSVhsv(293, 79%, 62%)
CMYKcmyk(9.5%, 79.1%, 0%, 38%)
CIE-LABlab(36.74, 60.04, -43.69)
CIE-LCHlch(36.74, 74.26, 323.96°)
OKLaboklab(48.12% 0.1594 -0.1222)
OKLCHoklch(48.12% 0.201 322.5)
XYZxyz(18.0425, 9.3970, 33.2046)
Luminance0.0940 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F219E #309E21
analogous
#51219E #8F219E #9E216F
triadic
#8F219E #9E8F21 #219E8F
tetradic
#8F219E #9E5121 #309E21 #216F9E
square
#8F219E #9E5121 #309E21 #216F9E
split-complementary
#8F219E #6F9E21 #219E51
monochromatic
#330C39 #61166B #8F219E #BD2CD1 #CE5CDD

Accessibility & contrast

On white

7.29
#8F219E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8F219E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F219E
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F219E#FFFFFF#000000##FFFFFF
##8F219E1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#355A9B
Tritanopia (blue-blind)
#913B60
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f219e;
/* rgb */ color: rgb(143, 33, 158);
/* oklch */ color: oklch(48.1% 0.201 322.5);
Tailwind
colors: {
  custom: {
    50: '#b46abb',
    500: '#8f219e',
    950: '#000000',
  },
}
SCSS
$custom: #8f219e;
$custom-light: #b46abb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f219e",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 292.8,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4812,
    "c": 0.20085,
    "h": 322.5
  },
  "luminance": 0.09396
}

Semantic roles & 50–950 ramp

primary
#8F219E
secondary
#66C159
accent
#E83F54
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #8F219E

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

Preview Lab → · Contrast checker → · Palette generator →

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