#8D258C#8D258C

#8D258C is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.0% C 0.181 H 328.4°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#8D258C
RGBrgb(141, 37, 140)
HSLhsl(301, 58%, 35%)
HSVhsv(301, 74%, 55%)
CMYKcmyk(0%, 73.8%, 0.7%, 44.7%)
CIE-LABlab(35.75, 55.17, -34.30)
CIE-LCHlch(35.75, 64.96, 328.13°)
OKLaboklab(47% 0.1544 -0.095)
OKLCHoklch(47% 0.181 328.4)
XYZxyz(16.3795, 8.8805, 25.6573)
Luminance0.0888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D258C #258D26
analogous
#5A258D #8D258C #8D2558
triadic
#8D258C #8C8D25 #258C8D
tetradic
#8D258C #8D5A25 #258D26 #25588D
square
#8D258C #8D5A25 #258D26 #25588D
split-complementary
#8D258C #588D25 #258D5A
monochromatic
#2C0C2C #5D185C #8D258C #BD32BC #D359D2

Accessibility & contrast

On white

7.57
#8D258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D258C
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D258C#FFFFFF#000000##FFFFFF
##8D258C1.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134B8F
Deuteranopia (green-blind)
#425989
Tritanopia (blue-blind)
#923556
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d258c;
/* rgb */ color: rgb(141, 37, 140);
/* oklch */ color: oklch(47.0% 0.181 328.4);
Tailwind
colors: {
  custom: {
    50: '#b26bae',
    500: '#8d258c',
    950: '#000000',
  },
}
SCSS
$custom: #8d258c;
$custom-light: #b26bae;
$custom-dark: #000000;
JSON
{
  "hex": "#8d258c",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 300.577,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47002,
    "c": 0.18126,
    "h": 328.4
  },
  "luminance": 0.08879
}

Semantic roles & 50–950 ramp

primary
#8D258C
secondary
#56B857
accent
#E24846
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D258C

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

Preview Lab → · Contrast checker → · Palette generator →

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