#8F248D#8F248D

#8F248D is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.184 H 328.8°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#8F248D
RGBrgb(143, 36, 141)
HSLhsl(301, 60%, 35%)
HSVhsv(301, 75%, 56%)
CMYKcmyk(0%, 74.8%, 1.4%, 43.9%)
CIE-LABlab(36.03, 56.13, -34.45)
CIE-LCHlch(36.03, 65.86, 328.46°)
OKLaboklab(47.29% 0.1576 -0.0953)
OKLCHoklch(47.29% 0.184 328.8)
XYZxyz(16.7661, 9.0257, 26.0532)
Luminance0.0902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F248D #248F26
analogous
#5B248F #8F248D #8F2458
triadic
#8F248D #8D8F24 #248D8F
tetradic
#8F248D #8F5B24 #248F26 #24588F
square
#8F248D #8F5B24 #248F26 #24588F
split-complementary
#8F248D #588F24 #248F5B
monochromatic
#2D0B2D #5E185D #8F248D #C030BD #D558D3

Accessibility & contrast

On white

7.49
#8F248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8F248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F248D
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F248D#FFFFFF#000000##FFFFFF
##8F248D1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124C90
Deuteranopia (green-blind)
#435A8A
Tritanopia (blue-blind)
#943457
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f248d;
/* rgb */ color: rgb(143, 36, 141);
/* oklch */ color: oklch(47.3% 0.184 328.8);
Tailwind
colors: {
  custom: {
    50: '#b36baf',
    500: '#8f248d',
    950: '#000000',
  },
}
SCSS
$custom: #8f248d;
$custom-light: #b36baf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f248d",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 301.121,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47287,
    "c": 0.18416,
    "h": 328.8
  },
  "luminance": 0.09024
}

Semantic roles & 50–950 ramp

primary
#8F248D
secondary
#55B957
accent
#E34845
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F248D

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

Preview Lab → · Contrast checker → · Palette generator →

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