#8F248C#8F248C

#8F248C is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.2% C 0.183 H 329.2°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8F248C
RGBrgb(143, 36, 140)
HSLhsl(302, 60%, 35%)
HSVhsv(302, 75%, 56%)
CMYKcmyk(0%, 74.8%, 2.1%, 43.9%)
CIE-LABlab(35.98, 55.96, -33.93)
CIE-LCHlch(35.98, 65.44, 328.77°)
OKLaboklab(47.23% 0.1576 -0.0938)
OKLCHoklch(47.23% 0.183 329.2)
XYZxyz(16.6921, 8.9961, 25.6631)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F248C #248F27
analogous
#5C248F #8F248C #8F2457
triadic
#8F248C #8C8F24 #248C8F
tetradic
#8F248C #8F5C24 #248F27 #24578F
square
#8F248C #8F5C24 #248F27 #24578F
split-complementary
#8F248C #578F24 #248F5C
monochromatic
#2D0B2C #5E185C #8F248C #C030BC #D558D2

Accessibility & contrast

On white

7.50
#8F248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F248C
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F248C#FFFFFF#000000##FFFFFF
##8F248C1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134C8F
Deuteranopia (green-blind)
#435A89
Tritanopia (blue-blind)
#943356
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f248c;
/* rgb */ color: rgb(143, 36, 140);
/* oklch */ color: oklch(47.2% 0.183 329.2);
Tailwind
colors: {
  custom: {
    50: '#b36bae',
    500: '#8f248c',
    950: '#000000',
  },
}
SCSS
$custom: #8f248c;
$custom-light: #b36bae;
$custom-dark: #000000;
JSON
{
  "hex": "#8f248c",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 301.682,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47228,
    "c": 0.18338,
    "h": 329.2
  },
  "luminance": 0.08995
}

Semantic roles & 50–950 ramp

primary
#8F248C
secondary
#55B958
accent
#E34945
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F248C

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

Preview Lab → · Contrast checker → · Palette generator →

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