#8F2499#8F2499

#8F2499 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.194 H 324.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8F2499
RGBrgb(143, 36, 153)
HSLhsl(295, 62%, 37%)
HSVhsv(295, 76%, 60%)
CMYKcmyk(6.5%, 76.5%, 0%, 40%)
CIE-LABlab(36.75, 58.21, -40.65)
CIE-LCHlch(36.75, 71.00, 325.07°)
OKLaboklab(48.03% 0.1572 -0.1134)
OKLCHoklch(48.03% 0.194 324.2)
XYZxyz(17.7079, 9.4024, 31.0130)
Luminance0.0940 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2499 #2E9924
analogous
#552499 #8F2499 #992469
triadic
#8F2499 #998F24 #24998F
tetradic
#8F2499 #995524 #2E9924 #246999
square
#8F2499 #995524 #2E9924 #246999
split-complementary
#8F2499 #699924 #249955
monochromatic
#320D36 #611867 #8F2499 #BD30CB #CF5ED9

Accessibility & contrast

On white

7.29
#8F2499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8F2499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2499
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2499#FFFFFF#000000##FFFFFF
##8F24991.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#3B5B96
Tritanopia (blue-blind)
#923A5D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f2499;
/* rgb */ color: rgb(143, 36, 153);
/* oklch */ color: oklch(48.0% 0.194 324.2);
Tailwind
colors: {
  custom: {
    50: '#b36bb7',
    500: '#8f2499',
    950: '#000000',
  },
}
SCSS
$custom: #8f2499;
$custom-light: #b36bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2499",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 294.872,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48026,
    "c": 0.19382,
    "h": 324.2
  },
  "luminance": 0.09401
}

Semantic roles & 50–950 ramp

primary
#8F2499
secondary
#63BE5B
accent
#E54351
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2499

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

Preview Lab → · Contrast checker → · Palette generator →

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