#8F249C#8F249C

#8F249C is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.196 H 323.1°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8F249C
RGBrgb(143, 36, 156)
HSLhsl(294, 63%, 38%)
HSVhsv(294, 77%, 61%)
CMYKcmyk(8.3%, 76.9%, 0%, 38.8%)
CIE-LABlab(36.93, 58.74, -42.17)
CIE-LCHlch(36.93, 72.31, 324.33°)
OKLaboklab(48.22% 0.157 -0.1178)
OKLCHoklch(48.22% 0.196 323.1)
XYZxyz(17.9587, 9.5028, 32.3343)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F249C #319C24
analogous
#53249C #8F249C #9C246D
triadic
#8F249C #9C8F24 #249C8F
tetradic
#8F249C #9C5324 #319C24 #246D9C
square
#8F249C #9C5324 #319C24 #246D9C
split-complementary
#8F249C #6D9C24 #249C53
monochromatic
#340D39 #61196A #8F249C #BD2FCE #CD60DA

Accessibility & contrast

On white

7.24
#8F249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8F249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F249C
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F249C#FFFFFF#000000##FFFFFF
##8F249C1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#395B99
Tritanopia (blue-blind)
#913B5F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f249c;
/* rgb */ color: rgb(143, 36, 156);
/* oklch */ color: oklch(48.2% 0.196 323.1);
Tailwind
colors: {
  custom: {
    50: '#b46bba',
    500: '#8f249c',
    950: '#000000',
  },
}
SCSS
$custom: #8f249c;
$custom-light: #b46bba;
$custom-dark: #000000;
JSON
{
  "hex": "#8f249c",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 293.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48219,
    "c": 0.19629,
    "h": 323.1
  },
  "luminance": 0.09502
}

Semantic roles & 50–950 ramp

primary
#8F249C
secondary
#67BF5C
accent
#E64254
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8F249C

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

Preview Lab → · Contrast checker → · Palette generator →

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