#8D25A6#8D25A6

#8D25A6 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.7% C 0.203 H 318.8°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8D25A6
RGBrgb(141, 37, 166)
HSLhsl(288, 64%, 40%)
HSVhsv(288, 78%, 65%)
CMYKcmyk(15.1%, 77.7%, 0%, 34.9%)
CIE-LABlab(37.37, 59.86, -47.51)
CIE-LCHlch(37.37, 76.43, 321.56°)
OKLaboklab(48.67% 0.1527 -0.1335)
OKLCHoklch(48.67% 0.203 318.8)
XYZxyz(18.5281, 9.7399, 36.9730)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D25A6 #3EA625
analogous
#4C25A6 #8D25A6 #A6257F
triadic
#8D25A6 #A68D25 #25A68D
tetradic
#8D25A6 #A64C25 #3EA625 #257FA6
square
#8D25A6 #A64C25 #3EA625 #257FA6
split-complementary
#8D25A6 #7FA625 #25A64C
monochromatic
#380F42 #621A74 #8D25A6 #B436D2 #C768DD

Accessibility & contrast

On white

7.12
#8D25A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8D25A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D25A6
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D25A6#FFFFFF#000000##FFFFFF
##8D25A61.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A9
Deuteranopia (green-blind)
#2E5BA3
Tritanopia (blue-blind)
#8D4165
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d25a6;
/* rgb */ color: rgb(141, 37, 166);
/* oklch */ color: oklch(48.7% 0.203 318.8);
Tailwind
colors: {
  custom: {
    50: '#b26cc1',
    500: '#8d25a6',
    950: '#000000',
  },
}
SCSS
$custom: #8d25a6;
$custom-light: #b26cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d25a6",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 166
  },
  "hsl": {
    "h": 288.372,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48672,
    "c": 0.20285,
    "h": 318.8
  },
  "luminance": 0.09739
}

Semantic roles & 50–950 ramp

primary
#8D25A6
secondary
#76C364
accent
#E74161
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D25A6

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

Preview Lab → · Contrast checker → · Palette generator →

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