#8F248B#8F248B

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

Color values

HEX#8F248B
RGBrgb(143, 36, 139)
HSLhsl(302, 60%, 35%)
HSVhsv(302, 75%, 56%)
CMYKcmyk(0%, 74.8%, 2.8%, 43.9%)
CIE-LABlab(35.92, 55.80, -33.40)
CIE-LCHlch(35.92, 65.03, 329.09°)
OKLaboklab(47.17% 0.1576 -0.0923)
OKLCHoklch(47.17% 0.183 329.6)
XYZxyz(16.6187, 8.9667, 25.2766)
Luminance0.0896 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F248B #248F28
analogous
#5D248F #8F248B #8F2455
triadic
#8F248B #8B8F24 #248B8F
tetradic
#8F248B #8F5D24 #248F28 #24558F
square
#8F248B #8F5D24 #248F28 #24558F
split-complementary
#8F248B #558F24 #248F5D
monochromatic
#2D0B2C #5E185B #8F248B #C030BB #D558D0

Accessibility & contrast

On white

7.52
#8F248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F248B
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F248B#FFFFFF#000000##FFFFFF
##8F248B1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154B8E
Deuteranopia (green-blind)
#445988
Tritanopia (blue-blind)
#943356
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f248b;
/* rgb */ color: rgb(143, 36, 139);
/* oklch */ color: oklch(47.2% 0.183 329.6);
Tailwind
colors: {
  custom: {
    50: '#b36bad',
    500: '#8f248b',
    950: '#000000',
  },
}
SCSS
$custom: #8f248b;
$custom-light: #b36bad;
$custom-dark: #000000;
JSON
{
  "hex": "#8f248b",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 302.243,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47169,
    "c": 0.18259,
    "h": 329.6
  },
  "luminance": 0.08965
}

Semantic roles & 50–950 ramp

primary
#8F248B
secondary
#55B959
accent
#E34B45
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F248B

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

Preview Lab → · Contrast checker → · Palette generator →

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