#8F249A#8F249A

#8F249A is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.1% C 0.195 H 323.8°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8F249A
RGBrgb(143, 36, 154)
HSLhsl(294, 62%, 37%)
HSVhsv(294, 77%, 60%)
CMYKcmyk(7.1%, 76.6%, 0%, 39.6%)
CIE-LABlab(36.81, 58.39, -41.15)
CIE-LCHlch(36.81, 71.43, 324.82°)
OKLaboklab(48.09% 0.1572 -0.1148)
OKLCHoklch(48.09% 0.195 323.8)
XYZxyz(17.7908, 9.4356, 31.4498)
Luminance0.0943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F249A #2F9A24
analogous
#54249A #8F249A #9A246A
triadic
#8F249A #9A8F24 #249A8F
tetradic
#8F249A #9A5424 #2F9A24 #246A9A
square
#8F249A #9A5424 #2F9A24 #246A9A
split-complementary
#8F249A #6A9A24 #249A54
monochromatic
#330D37 #611868 #8F249A #BD30CC #CE5FDA

Accessibility & contrast

On white

7.27
#8F249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8F249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F249A
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F249A#FFFFFF#000000##FFFFFF
##8F249A1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#3A5B97
Tritanopia (blue-blind)
#923A5E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f249a;
/* rgb */ color: rgb(143, 36, 154);
/* oklch */ color: oklch(48.1% 0.195 323.8);
Tailwind
colors: {
  custom: {
    50: '#b36bb8',
    500: '#8f249a',
    950: '#000000',
  },
}
SCSS
$custom: #8f249a;
$custom-light: #b36bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f249a",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 294.407,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4809,
    "c": 0.19464,
    "h": 323.8
  },
  "luminance": 0.09434
}

Semantic roles & 50–950 ramp

primary
#8F249A
secondary
#65BF5B
accent
#E54352
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F249A

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

Preview Lab → · Contrast checker → · Palette generator →

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