#8D258D#8D258D

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

Color values

HEX#8D258D
RGBrgb(141, 37, 141)
HSLhsl(300, 58%, 35%)
HSVhsv(300, 74%, 55%)
CMYKcmyk(0%, 73.8%, 0%, 44.7%)
CIE-LABlab(35.81, 55.34, -34.83)
CIE-LCHlch(35.81, 65.39, 327.82°)
OKLaboklab(47.06% 0.1544 -0.0965)
OKLCHoklch(47.06% 0.182 328)
XYZxyz(16.4536, 8.9101, 26.0474)
Luminance0.0891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D258D #258D25
analogous
#59258D #8D258D #8D2559
triadic
#8D258D #8D8D25 #258D8D
tetradic
#8D258D #8D5925 #258D25 #25598D
square
#8D258D #8D5925 #258D25 #25598D
split-complementary
#8D258D #598D25 #258D59
monochromatic
#2C0C2C #5D185D #8D258D #BD32BD #D359D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D258D#FFFFFF#000000##FFFFFF
##8D258D1.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)
#114C90
Deuteranopia (green-blind)
#41598A
Tritanopia (blue-blind)
#923557
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d258d;
/* rgb */ color: rgb(141, 37, 141);
/* oklch */ color: oklch(47.1% 0.182 328.0);
Tailwind
colors: {
  custom: {
    50: '#b26baf',
    500: '#8d258d',
    950: '#000000',
  },
}
SCSS
$custom: #8d258d;
$custom-light: #b26baf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d258d",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 300,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47062,
    "c": 0.18206,
    "h": 328
  },
  "luminance": 0.08909
}

Semantic roles & 50–950 ramp

primary
#8D258D
secondary
#56B856
accent
#E24646
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D258D

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

Preview Lab → · Contrast checker → · Palette generator →

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