#8F248F#8F248F

#8F248F is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.4% C 0.186 H 328.0°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#8F248F
RGBrgb(143, 36, 143)
HSLhsl(300, 60%, 35%)
HSVhsv(300, 75%, 56%)
CMYKcmyk(0%, 74.8%, 0%, 43.9%)
CIE-LABlab(36.15, 56.47, -35.50)
CIE-LCHlch(36.15, 66.70, 327.85°)
OKLaboklab(47.41% 0.1576 -0.0984)
OKLCHoklch(47.41% 0.186 328)
XYZxyz(16.9163, 9.0858, 26.8440)
Luminance0.0909 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F248F #248F24
analogous
#59248F #8F248F #8F2459
triadic
#8F248F #8F8F24 #248F8F
tetradic
#8F248F #8F5924 #248F24 #24598F
square
#8F248F #8F5924 #248F24 #24598F
split-complementary
#8F248F #598F24 #248F59
monochromatic
#2D0B2D #5E185E #8F248F #C030C0 #D558D5

Accessibility & contrast

On white

7.45
#8F248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8F248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F248F
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F248F#FFFFFF#000000##FFFFFF
##8F248F1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4C92
Deuteranopia (green-blind)
#415A8C
Tritanopia (blue-blind)
#943558
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f248f;
/* rgb */ color: rgb(143, 36, 143);
/* oklch */ color: oklch(47.4% 0.186 328.0);
Tailwind
colors: {
  custom: {
    50: '#b36bb0',
    500: '#8f248f',
    950: '#000000',
  },
}
SCSS
$custom: #8f248f;
$custom-light: #b36bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f248f",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 300,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47407,
    "c": 0.18575,
    "h": 328
  },
  "luminance": 0.09085
}

Semantic roles & 50–950 ramp

primary
#8F248F
secondary
#55B955
accent
#E34545
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F248F

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

Preview Lab → · Contrast checker → · Palette generator →

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