#8D248F#8D248F

#8D248F is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.1% C 0.185 H 327.2°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#8D248F
RGBrgb(141, 36, 143)
HSLhsl(299, 60%, 35%)
HSVhsv(299, 75%, 56%)
CMYKcmyk(1.4%, 74.8%, 0%, 43.9%)
CIE-LABlab(35.81, 56.02, -36.06)
CIE-LCHlch(35.81, 66.63, 327.23°)
OKLaboklab(47.1% 0.1553 -0.1)
OKLCHoklch(47.1% 0.185 327.2)
XYZxyz(16.5731, 8.9088, 26.8279)
Luminance0.0891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D248F #268F24
analogous
#58248F #8D248F #8F245B
triadic
#8D248F #8F8D24 #248F8D
tetradic
#8D248F #8F5824 #268F24 #245B8F
square
#8D248F #8F5824 #268F24 #245B8F
split-complementary
#8D248F #5B8F24 #248F58
monochromatic
#2D0B2D #5D185E #8D248F #BD30C0 #D358D5

Accessibility & contrast

On white

7.55
#8D248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8D248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D248F
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D248F#FFFFFF#000000##FFFFFF
##8D248F1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094C92
Deuteranopia (green-blind)
#3F598C
Tritanopia (blue-blind)
#913558
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d248f;
/* rgb */ color: rgb(141, 36, 143);
/* oklch */ color: oklch(47.1% 0.185 327.2);
Tailwind
colors: {
  custom: {
    50: '#b26ab0',
    500: '#8d248f',
    950: '#000000',
  },
}
SCSS
$custom: #8d248f;
$custom-light: #b26ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d248f",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 298.879,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47097,
    "c": 0.18476,
    "h": 327.2
  },
  "luminance": 0.08908
}

Semantic roles & 50–950 ramp

primary
#8D248F
secondary
#57B955
accent
#E34548
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D248F

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

Preview Lab → · Contrast checker → · Palette generator →

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