#8D257D#8D257D

#8D257D is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.2% C 0.170 H 334.9°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#8D257D
RGBrgb(141, 37, 125)
HSLhsl(309, 58%, 35%)
HSVhsv(309, 74%, 55%)
CMYKcmyk(0%, 73.8%, 11.3%, 44.7%)
CIE-LABlab(34.94, 52.71, -26.29)
CIE-LCHlch(34.94, 58.90, 333.49°)
OKLaboklab(46.15% 0.1537 -0.0718)
OKLCHoklch(46.15% 0.17 334.9)
XYZxyz(15.3479, 8.4679, 20.2242)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D257D #258D35
analogous
#69258D #8D257D #8D2549
triadic
#8D257D #7D8D25 #257D8D
tetradic
#8D257D #8D6925 #258D35 #25498D
square
#8D257D #8D6925 #258D35 #25498D
split-complementary
#8D257D #498D25 #258D69
monochromatic
#2C0C27 #5D1852 #8D257D #BD32A8 #D359C1

Accessibility & contrast

On white

7.80
#8D257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8D257D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D257D
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D257D#FFFFFF#000000##FFFFFF
##8D257D1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24487F
Deuteranopia (green-blind)
#49587B
Tritanopia (blue-blind)
#942D4E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d257d;
/* rgb */ color: rgb(141, 37, 125);
/* oklch */ color: oklch(46.2% 0.170 334.9);
Tailwind
colors: {
  custom: {
    50: '#b26aa3',
    500: '#8d257d',
    950: '#000000',
  },
}
SCSS
$custom: #8d257d;
$custom-light: #b26aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d257d",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 309.231,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46153,
    "c": 0.16962,
    "h": 334.9
  },
  "luminance": 0.08467
}

Semantic roles & 50–950 ramp

primary
#8D257D
secondary
#56B865
accent
#E25E46
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D257D

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

Preview Lab → · Contrast checker → · Palette generator →

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