#8D258B#8D258B

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

Color values

HEX#8D258B
RGBrgb(141, 37, 139)
HSLhsl(301, 58%, 35%)
HSVhsv(301, 74%, 55%)
CMYKcmyk(0%, 73.8%, 1.4%, 44.7%)
CIE-LABlab(35.70, 55.00, -33.78)
CIE-LCHlch(35.70, 64.54, 328.44°)
OKLaboklab(46.94% 0.1544 -0.0934)
OKLCHoklch(46.94% 0.18 328.8)
XYZxyz(16.3061, 8.8511, 25.2707)
Luminance0.0885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D258B #258D27
analogous
#5B258D #8D258B #8D2557
triadic
#8D258B #8B8D25 #258B8D
tetradic
#8D258B #8D5B25 #258D27 #25578D
square
#8D258B #8D5B25 #258D27 #25578D
split-complementary
#8D258B #578D25 #258D5B
monochromatic
#2C0C2B #5D185B #8D258B #BD32BB #D359D1

Accessibility & contrast

On white

7.58
#8D258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8D258B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D258B
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D258B#FFFFFF#000000##FFFFFF
##8D258B1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144B8E
Deuteranopia (green-blind)
#425988
Tritanopia (blue-blind)
#923456
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d258b;
/* rgb */ color: rgb(141, 37, 139);
/* oklch */ color: oklch(46.9% 0.180 328.8);
Tailwind
colors: {
  custom: {
    50: '#b26bad',
    500: '#8d258b',
    950: '#000000',
  },
}
SCSS
$custom: #8d258b;
$custom-light: #b26bad;
$custom-dark: #000000;
JSON
{
  "hex": "#8d258b",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 301.154,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46943,
    "c": 0.18045,
    "h": 328.8
  },
  "luminance": 0.0885
}

Semantic roles & 50–950 ramp

primary
#8D258B
secondary
#56B858
accent
#E24946
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D258B

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

Preview Lab → · Contrast checker → · Palette generator →

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