#8D248B#8D248B

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

Color values

HEX#8D248B
RGBrgb(141, 36, 139)
HSLhsl(301, 59%, 35%)
HSVhsv(301, 74%, 55%)
CMYKcmyk(0%, 74.5%, 1.4%, 44.7%)
CIE-LABlab(35.58, 55.34, -33.97)
CIE-LCHlch(35.58, 64.93, 328.46°)
OKLaboklab(46.86% 0.1553 -0.094)
OKLCHoklch(46.86% 0.182 328.8)
XYZxyz(16.2754, 8.7898, 25.2605)
Luminance0.0879 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D248B #248D26
analogous
#5B248D #8D248B #8D2457
triadic
#8D248B #8B8D24 #248B8D
tetradic
#8D248B #8D5B24 #248D26 #24578D
square
#8D248B #8D5B24 #248D26 #24578D
split-complementary
#8D248B #578D24 #248D5B
monochromatic
#2B0B2B #5C185B #8D248B #BE30BB #D457D2

Accessibility & contrast

On white

7.61
#8D248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D248B
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D248B#FFFFFF#000000##FFFFFF
##8D248B1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124B8E
Deuteranopia (green-blind)
#425888
Tritanopia (blue-blind)
#923355
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d248b;
/* rgb */ color: rgb(141, 36, 139);
/* oklch */ color: oklch(46.9% 0.182 328.8);
Tailwind
colors: {
  custom: {
    50: '#b26aad',
    500: '#8d248b',
    950: '#000000',
  },
}
SCSS
$custom: #8d248b;
$custom-light: #b26aad;
$custom-dark: #000000;
JSON
{
  "hex": "#8d248b",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 301.143,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46857,
    "c": 0.18157,
    "h": 328.8
  },
  "luminance": 0.08789
}

Semantic roles & 50–950 ramp

primary
#8D248B
secondary
#54B856
accent
#E34845
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D248B

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

Preview Lab → · Contrast checker → · Palette generator →

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