#8D248D#8D248D

#8D248D is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.0% C 0.183 H 328.0°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#8D248D
RGBrgb(141, 36, 141)
HSLhsl(300, 59%, 35%)
HSVhsv(300, 74%, 55%)
CMYKcmyk(0%, 74.5%, 0%, 44.7%)
CIE-LABlab(35.69, 55.68, -35.02)
CIE-LCHlch(35.69, 65.78, 327.84°)
OKLaboklab(46.98% 0.1553 -0.097)
OKLCHoklch(46.98% 0.183 328)
XYZxyz(16.4229, 8.8488, 26.0371)
Luminance0.0885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D248D #248D24
analogous
#59248D #8D248D #8D2459
triadic
#8D248D #8D8D24 #248D8D
tetradic
#8D248D #8D5924 #248D24 #24598D
square
#8D248D #8D5924 #248D24 #24598D
split-complementary
#8D248D #598D24 #248D59
monochromatic
#2B0B2B #5C185C #8D248D #BE30BE #D457D4

Accessibility & contrast

On white

7.58
#8D248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8D248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D248D
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D248D#FFFFFF#000000##FFFFFF
##8D248D1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4B90
Deuteranopia (green-blind)
#41598A
Tritanopia (blue-blind)
#923457
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d248d;
/* rgb */ color: rgb(141, 36, 141);
/* oklch */ color: oklch(47.0% 0.183 328.0);
Tailwind
colors: {
  custom: {
    50: '#b26aaf',
    500: '#8d248d',
    950: '#000000',
  },
}
SCSS
$custom: #8d248d;
$custom-light: #b26aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d248d",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 300,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46976,
    "c": 0.18316,
    "h": 328
  },
  "luminance": 0.08848
}

Semantic roles & 50–950 ramp

primary
#8D248D
secondary
#54B854
accent
#E34545
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D248D

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

Preview Lab → · Contrast checker → · Palette generator →

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