#8D248A#8D248A

#8D248A is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.8% C 0.181 H 329.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8D248A
RGBrgb(141, 36, 138)
HSLhsl(302, 59%, 35%)
HSVhsv(302, 74%, 55%)
CMYKcmyk(0%, 74.5%, 2.1%, 44.7%)
CIE-LABlab(35.52, 55.17, -33.44)
CIE-LCHlch(35.52, 64.52, 328.78°)
OKLaboklab(46.8% 0.1553 -0.0924)
OKLCHoklch(46.8% 0.181 329.2)
XYZxyz(16.2027, 8.7607, 24.8774)
Luminance0.0876 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D248A #248D27
analogous
#5B248D #8D248A #8D2456
triadic
#8D248A #8A8D24 #248A8D
tetradic
#8D248A #8D5B24 #248D27 #24568D
square
#8D248A #8D5B24 #248D27 #24568D
split-complementary
#8D248A #568D24 #248D5B
monochromatic
#2B0B2B #5C185A #8D248A #BE30BA #D457D1

Accessibility & contrast

On white

7.63
#8D248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8D248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D248A
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D248A#FFFFFF#000000##FFFFFF
##8D248A1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144B8D
Deuteranopia (green-blind)
#425887
Tritanopia (blue-blind)
#923355
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d248a;
/* rgb */ color: rgb(141, 36, 138);
/* oklch */ color: oklch(46.8% 0.181 329.2);
Tailwind
colors: {
  custom: {
    50: '#b26aac',
    500: '#8d248a',
    950: '#000000',
  },
}
SCSS
$custom: #8d248a;
$custom-light: #b26aac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d248a",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 301.714,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46798,
    "c": 0.18078,
    "h": 329.2
  },
  "luminance": 0.08759
}

Semantic roles & 50–950 ramp

primary
#8D248A
secondary
#54B857
accent
#E34A45
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D248A

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

Preview Lab → · Contrast checker → · Palette generator →

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