#8D25A7#8D25A7

#8D25A7 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.7% C 0.204 H 318.5°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8D25A7
RGBrgb(141, 37, 167)
HSLhsl(288, 64%, 40%)
HSVhsv(288, 78%, 65%)
CMYKcmyk(15.6%, 77.8%, 0%, 34.5%)
CIE-LABlab(37.44, 60.05, -48.00)
CIE-LCHlch(37.44, 76.88, 321.36°)
OKLaboklab(48.74% 0.1526 -0.135)
OKLCHoklch(48.74% 0.204 318.5)
XYZxyz(18.6202, 9.7768, 37.4580)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D25A7 #3FA725
analogous
#4C25A7 #8D25A7 #A72580
triadic
#8D25A7 #A78D25 #25A78D
tetradic
#8D25A7 #A74C25 #3FA725 #2580A7
square
#8D25A7 #A74C25 #3FA725 #2580A7
split-complementary
#8D25A7 #80A725 #25A74C
monochromatic
#380F43 #631A75 #8D25A7 #B337D3 #C669DE

Accessibility & contrast

On white

7.11
#8D25A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8D25A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D25A7
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D25A7#FFFFFF#000000##FFFFFF
##8D25A71.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AA
Deuteranopia (green-blind)
#2C5BA4
Tritanopia (blue-blind)
#8C4165
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d25a7;
/* rgb */ color: rgb(141, 37, 167);
/* oklch */ color: oklch(48.7% 0.204 318.5);
Tailwind
colors: {
  custom: {
    50: '#b26cc2',
    500: '#8d25a7',
    950: '#000000',
  },
}
SCSS
$custom: #8d25a7;
$custom-light: #b26cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d25a7",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 288,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.48741,
    "c": 0.20371,
    "h": 318.5
  },
  "luminance": 0.09776
}

Semantic roles & 50–950 ramp

primary
#8D25A7
secondary
#77C464
accent
#E74162
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8D25A7

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

Preview Lab → · Contrast checker → · Palette generator →

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