#8F5199#8F5199

#8F5199 is a mid, vivid purple. Relative luminance 0.140; OKLCH L 53.5% C 0.128 H 321.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8F5199
RGBrgb(143, 81, 153)
HSLhsl(292, 31%, 46%)
HSVhsv(292, 47%, 60%)
CMYKcmyk(6.5%, 47.1%, 0%, 40%)
CIE-LABlab(44.27, 37.71, -28.76)
CIE-LCHlch(44.27, 47.43, 322.67°)
OKLaboklab(53.51% 0.101 -0.0792)
OKLCHoklch(53.51% 0.128 321.9)
XYZxyz(20.0193, 14.0252, 31.7834)
Luminance0.1402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5199 #5B9951
analogous
#6B5199 #8F5199 #99517F
triadic
#8F5199 #998F51 #51998F
tetradic
#8F5199 #996B51 #5B9951 #517F99
square
#8F5199 #996B51 #5B9951 #517F99
split-complementary
#8F5199 #7F9951 #51996B
monochromatic
#442749 #6A3C71 #8F5199 #AB73B5 #C39BCA

Accessibility & contrast

On white

5.52
#8F5199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8F5199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F5199
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5199#FFFFFF#000000##FFFFFF
##8F51991.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47649B
Deuteranopia (green-blind)
#596B97
Tritanopia (blue-blind)
#915A6E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f5199;
/* rgb */ color: rgb(143, 81, 153);
/* oklch */ color: oklch(53.5% 0.128 321.9);
Tailwind
colors: {
  custom: {
    50: '#b184b7',
    500: '#8f5199',
    950: '#000000',
  },
}
SCSS
$custom: #8f5199;
$custom-light: #b184b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5199",
  "rgb": {
    "r": 143,
    "g": 81,
    "b": 153
  },
  "hsl": {
    "h": 291.667,
    "s": 30.769,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53507,
    "c": 0.12839,
    "h": 321.9
  },
  "luminance": 0.14024
}

Semantic roles & 50–950 ramp

primary
#8F5199
secondary
#95B78F
accent
#C7616F
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110B11
muted
#807C80

Preview Lab

Preview with #8F5199

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

Preview Lab → · Contrast checker → · Palette generator →

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