#8F2799#8F2799

#8F2799 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.191 H 324.1°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#8F2799
RGBrgb(143, 39, 153)
HSLhsl(295, 59%, 38%)
HSVhsv(295, 75%, 60%)
CMYKcmyk(6.5%, 74.5%, 0%, 40%)
CIE-LABlab(37.10, 57.20, -40.08)
CIE-LCHlch(37.10, 69.85, 324.98°)
OKLaboklab(48.28% 0.1544 -0.1117)
OKLCHoklch(48.28% 0.191 324.1)
XYZxyz(17.8025, 9.5917, 31.0445)
Luminance0.0959 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2799 #319927
analogous
#562799 #8F2799 #99276A
triadic
#8F2799 #998F27 #27998F
tetradic
#8F2799 #995627 #319927 #276A99
square
#8F2799 #995627 #319927 #276A99
split-complementary
#8F2799 #6A9927 #279956
monochromatic
#340E37 #611B68 #8F2799 #BD33CA #CD63D7

Accessibility & contrast

On white

7.20
#8F2799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8F2799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2799
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2799#FFFFFF#000000##FFFFFF
##8F27991.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#3C5B96
Tritanopia (blue-blind)
#923B5E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f2799;
/* rgb */ color: rgb(143, 39, 153);
/* oklch */ color: oklch(48.3% 0.191 324.1);
Tailwind
colors: {
  custom: {
    50: '#b36cb7',
    500: '#8f2799',
    950: '#000000',
  },
}
SCSS
$custom: #8f2799;
$custom-light: #b36cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2799",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 294.737,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48277,
    "c": 0.19063,
    "h": 324.1
  },
  "luminance": 0.09591
}

Semantic roles & 50–950 ramp

primary
#8F2799
secondary
#67BD5F
accent
#E34553
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2799

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

Preview Lab → · Contrast checker → · Palette generator →

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