#8F248A#8F248A

#8F248A is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.1% C 0.182 H 330.1°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#8F248A
RGBrgb(143, 36, 138)
HSLhsl(303, 60%, 35%)
HSVhsv(303, 75%, 56%)
CMYKcmyk(0%, 74.8%, 3.5%, 43.9%)
CIE-LABlab(35.86, 55.63, -32.87)
CIE-LCHlch(35.86, 64.62, 329.42°)
OKLaboklab(47.11% 0.1575 -0.0907)
OKLCHoklch(47.11% 0.182 330.1)
XYZxyz(16.5459, 8.9377, 24.8935)
Luminance0.0894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F248A #248F29
analogous
#5F248F #8F248A #8F2454
triadic
#8F248A #8A8F24 #248A8F
tetradic
#8F248A #8F5F24 #248F29 #24548F
square
#8F248A #8F5F24 #248F29 #24548F
split-complementary
#8F248A #548F24 #248F5F
monochromatic
#2D0B2C #5E185B #8F248A #C030B9 #D558CF

Accessibility & contrast

On white

7.53
#8F248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8F248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F248A
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F248A#FFFFFF#000000##FFFFFF
##8F248A1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174B8D
Deuteranopia (green-blind)
#445987
Tritanopia (blue-blind)
#943255
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f248a;
/* rgb */ color: rgb(143, 36, 138);
/* oklch */ color: oklch(47.1% 0.182 330.1);
Tailwind
colors: {
  custom: {
    50: '#b36bac',
    500: '#8f248a',
    950: '#000000',
  },
}
SCSS
$custom: #8f248a;
$custom-light: #b36bac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f248a",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 302.804,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47111,
    "c": 0.18181,
    "h": 330.1
  },
  "luminance": 0.08936
}

Semantic roles & 50–950 ramp

primary
#8F248A
secondary
#55B95A
accent
#E34C45
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F248A

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

Preview Lab → · Contrast checker → · Palette generator →

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