#8D258A#8D258A

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

Color values

HEX#8D258A
RGBrgb(141, 37, 138)
HSLhsl(302, 58%, 35%)
HSVhsv(302, 74%, 55%)
CMYKcmyk(0%, 73.8%, 2.1%, 44.7%)
CIE-LABlab(35.64, 54.83, -33.25)
CIE-LCHlch(35.64, 64.12, 328.77°)
OKLaboklab(46.88% 0.1544 -0.0919)
OKLCHoklch(46.88% 0.18 329.2)
XYZxyz(16.2334, 8.8221, 24.8877)
Luminance0.0882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D258A #258D28
analogous
#5C258D #8D258A #8D2556
triadic
#8D258A #8A8D25 #258A8D
tetradic
#8D258A #8D5C25 #258D28 #25568D
square
#8D258A #8D5C25 #258D28 #25568D
split-complementary
#8D258A #568D25 #258D5C
monochromatic
#2C0C2B #5D185B #8D258A #BD32B9 #D359D0

Accessibility & contrast

On white

7.60
#8D258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D258A
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D258A#FFFFFF#000000##FFFFFF
##8D258A1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164B8D
Deuteranopia (green-blind)
#435987
Tritanopia (blue-blind)
#923455
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d258a;
/* rgb */ color: rgb(141, 37, 138);
/* oklch */ color: oklch(46.9% 0.180 329.2);
Tailwind
colors: {
  custom: {
    50: '#b26bac',
    500: '#8d258a',
    950: '#000000',
  },
}
SCSS
$custom: #8d258a;
$custom-light: #b26bac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d258a",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 301.731,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46884,
    "c": 0.17966,
    "h": 329.2
  },
  "luminance": 0.08821
}

Semantic roles & 50–950 ramp

primary
#8D258A
secondary
#56B859
accent
#E24B46
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D258A

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

Preview Lab → · Contrast checker → · Palette generator →

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