#8F199D#8F199D

#8F199D is a mid, highly saturated purple. Relative luminance 0.090; OKLCH L 47.5% C 0.207 H 323.1°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#8F199D
RGBrgb(143, 25, 157)
HSLhsl(294, 73%, 36%)
HSVhsv(294, 84%, 62%)
CMYKcmyk(8.9%, 84.1%, 0%, 38.4%)
CIE-LABlab(35.93, 62.03, -44.39)
CIE-LCHlch(35.93, 76.28, 324.41°)
OKLaboklab(47.53% 0.1653 -0.1242)
OKLCHoklch(47.53% 0.207 323.1)
XYZxyz(17.7605, 8.9703, 32.6877)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F199D #279D19
analogous
#4D199D #8F199D #9D1969
triadic
#8F199D #9D8F19 #199D8F
tetradic
#8F199D #9D4D19 #279D19 #19699D
square
#8F199D #9D4D19 #279D19 #19699D
split-complementary
#8F199D #699D19 #199D4D
monochromatic
#2F0833 #5F1168 #8F199D #BF21D2 #D34EE3

Accessibility & contrast

On white

7.52
#8F199D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8F199D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F199D
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F199D#FFFFFF#000000##FFFFFF
##8F199D1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#32599A
Tritanopia (blue-blind)
#91365D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f199d;
/* rgb */ color: rgb(143, 25, 157);
/* oklch */ color: oklch(47.5% 0.207 323.1);
Tailwind
colors: {
  custom: {
    50: '#b468bb',
    500: '#8f199d',
    950: '#000000',
  },
}
SCSS
$custom: #8f199d;
$custom-light: #b468bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f199d",
  "rgb": {
    "r": 143,
    "g": 25,
    "b": 157
  },
  "hsl": {
    "h": 293.636,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47527,
    "c": 0.20681,
    "h": 323.1
  },
  "luminance": 0.08969
}

Semantic roles & 50–950 ramp

primary
#8F199D
secondary
#5AC54D
accent
#EF394C
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#120712
muted
#817A81

Preview Lab

Preview with #8F199D

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

Preview Lab → · Contrast checker → · Palette generator →

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