#8F2199#8F2199

#8F2199 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.8% C 0.197 H 324.3°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8F2199
RGBrgb(143, 33, 153)
HSLhsl(295, 65%, 36%)
HSVhsv(295, 78%, 60%)
CMYKcmyk(6.5%, 78.4%, 0%, 40%)
CIE-LABlab(36.42, 59.15, -41.17)
CIE-LCHlch(36.42, 72.07, 325.16°)
OKLaboklab(47.79% 0.1598 -0.1149)
OKLCHoklch(47.79% 0.197 324.3)
XYZxyz(17.6208, 9.2284, 30.9840)
Luminance0.0923 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2199 #2B9921
analogous
#532199 #8F2199 #992167
triadic
#8F2199 #998F21 #21998F
tetradic
#8F2199 #995321 #2B9921 #216799
square
#8F2199 #995321 #2B9921 #216799
split-complementary
#8F2199 #679921 #219953
monochromatic
#310B34 #601667 #8F2199 #BE2CCB #D059DB

Accessibility & contrast

On white

7.38
#8F2199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8F2199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2199
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2199#FFFFFF#000000##FFFFFF
##8F21991.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#395A96
Tritanopia (blue-blind)
#92385D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f2199;
/* rgb */ color: rgb(143, 33, 153);
/* oklch */ color: oklch(47.8% 0.197 324.3);
Tailwind
colors: {
  custom: {
    50: '#b46ab8',
    500: '#8f2199',
    950: '#000000',
  },
}
SCSS
$custom: #8f2199;
$custom-light: #b46ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2199",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 295,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47794,
    "c": 0.1968,
    "h": 324.3
  },
  "luminance": 0.09227
}

Semantic roles & 50–950 ramp

primary
#8F2199
secondary
#5FBF56
accent
#E8404E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2199

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

Preview Lab → · Contrast checker → · Palette generator →

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