#8D248C#8D248C

#8D248C is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.9% C 0.182 H 328.4°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#8D248C
RGBrgb(141, 36, 140)
HSLhsl(301, 59%, 35%)
HSVhsv(301, 74%, 55%)
CMYKcmyk(0%, 74.5%, 0.7%, 44.7%)
CIE-LABlab(35.63, 55.51, -34.49)
CIE-LCHlch(35.63, 65.35, 328.14°)
OKLaboklab(46.92% 0.1554 -0.0955)
OKLCHoklch(46.92% 0.182 328.4)
XYZxyz(16.3488, 8.8191, 25.6470)
Luminance0.0882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D248C #248D25
analogous
#59248D #8D248C #8D2458
triadic
#8D248C #8C8D24 #248C8D
tetradic
#8D248C #8D5924 #248D25 #24588D
square
#8D248C #8D5924 #248D25 #24588D
split-complementary
#8D248C #588D24 #248D59
monochromatic
#2B0B2B #5C185C #8D248C #BE30BC #D457D3

Accessibility & contrast

On white

7.60
#8D248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8D248C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D248C
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D248C#FFFFFF#000000##FFFFFF
##8D248C1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114B8F
Deuteranopia (green-blind)
#415989
Tritanopia (blue-blind)
#923456
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d248c;
/* rgb */ color: rgb(141, 36, 140);
/* oklch */ color: oklch(46.9% 0.182 328.4);
Tailwind
colors: {
  custom: {
    50: '#b26aae',
    500: '#8d248c',
    950: '#000000',
  },
}
SCSS
$custom: #8d248c;
$custom-light: #b26aae;
$custom-dark: #000000;
JSON
{
  "hex": "#8d248c",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 300.571,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46916,
    "c": 0.18236,
    "h": 328.4
  },
  "luminance": 0.08818
}

Semantic roles & 50–950 ramp

primary
#8D248C
secondary
#54B855
accent
#E34745
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D248C

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

Preview Lab → · Contrast checker → · Palette generator →

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