#8F249B#8F249B

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

Color values

HEX#8F249B
RGBrgb(143, 36, 155)
HSLhsl(294, 62%, 37%)
HSVhsv(294, 77%, 61%)
CMYKcmyk(7.7%, 76.8%, 0%, 39.2%)
CIE-LABlab(36.87, 58.57, -41.66)
CIE-LCHlch(36.87, 71.87, 324.57°)
OKLaboklab(48.16% 0.1571 -0.1163)
OKLCHoklch(48.16% 0.195 323.5)
XYZxyz(17.8744, 9.4690, 31.8902)
Luminance0.0947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F249B #309B24
analogous
#54249B #8F249B #9B246B
triadic
#8F249B #9B8F24 #249B8F
tetradic
#8F249B #9B5424 #309B24 #246B9B
square
#8F249B #9B5424 #309B24 #246B9B
split-complementary
#8F249B #6B9B24 #249B54
monochromatic
#330D38 #611869 #8F249B #BD30CD #CE5FDA

Accessibility & contrast

On white

7.26
#8F249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F249B
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F249B#FFFFFF#000000##FFFFFF
##8F249B1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#395B98
Tritanopia (blue-blind)
#913B5E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f249b;
/* rgb */ color: rgb(143, 36, 155);
/* oklch */ color: oklch(48.2% 0.195 323.5);
Tailwind
colors: {
  custom: {
    50: '#b46bb9',
    500: '#8f249b',
    950: '#000000',
  },
}
SCSS
$custom: #8f249b;
$custom-light: #b46bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f249b",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 293.95,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48155,
    "c": 0.19547,
    "h": 323.5
  },
  "luminance": 0.09468
}

Semantic roles & 50–950 ramp

primary
#8F249B
secondary
#66BF5C
accent
#E54253
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F249B

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

Preview Lab → · Contrast checker → · Palette generator →

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