#8F219C#8F219C

#8F219C is a mid, vivid purple. Relative luminance 0.093; OKLCH L 48.0% C 0.199 H 323.2°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8F219C
RGBrgb(143, 33, 156)
HSLhsl(294, 65%, 37%)
HSVhsv(294, 79%, 61%)
CMYKcmyk(8.3%, 78.8%, 0%, 38.8%)
CIE-LABlab(36.61, 59.68, -42.69)
CIE-LCHlch(36.61, 73.38, 324.43°)
OKLaboklab(47.99% 0.1596 -0.1193)
OKLCHoklch(47.99% 0.199 323.2)
XYZxyz(17.8717, 9.3288, 32.3053)
Luminance0.0933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F219C #2E9C21
analogous
#52219C #8F219C #9C216B
triadic
#8F219C #9C8F21 #219C8F
tetradic
#8F219C #9C5221 #2E9C21 #216B9C
square
#8F219C #9C5221 #2E9C21 #216B9C
split-complementary
#8F219C #6B9C21 #219C52
monochromatic
#320C37 #611669 #8F219C #BD2CCF #CF5BDC

Accessibility & contrast

On white

7.33
#8F219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F219C
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F219C#FFFFFF#000000##FFFFFF
##8F219C1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#375A99
Tritanopia (blue-blind)
#913A5E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f219c;
/* rgb */ color: rgb(143, 33, 156);
/* oklch */ color: oklch(48.0% 0.199 323.2);
Tailwind
colors: {
  custom: {
    50: '#b46aba',
    500: '#8f219c',
    950: '#000000',
  },
}
SCSS
$custom: #8f219c;
$custom-light: #b46aba;
$custom-dark: #000000;
JSON
{
  "hex": "#8f219c",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 293.659,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47989,
    "c": 0.19923,
    "h": 323.2
  },
  "luminance": 0.09328
}

Semantic roles & 50–950 ramp

primary
#8F219C
secondary
#63C158
accent
#E84052
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #8F219C

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

Preview Lab → · Contrast checker → · Palette generator →

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