#8D25A8#8D25A8

#8D25A8 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.8% C 0.205 H 318.2°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8D25A8
RGBrgb(141, 37, 168)
HSLhsl(288, 64%, 40%)
HSVhsv(288, 78%, 66%)
CMYKcmyk(16.1%, 78%, 0%, 34.1%)
CIE-LABlab(37.51, 60.24, -48.49)
CIE-LCHlch(37.51, 77.34, 321.17°)
OKLaboklab(48.81% 0.1524 -0.1364)
OKLCHoklch(48.81% 0.205 318.2)
XYZxyz(18.7130, 9.8139, 37.9468)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D25A8 #40A825
analogous
#4C25A8 #8D25A8 #A82581
triadic
#8D25A8 #A88D25 #25A88D
tetradic
#8D25A8 #A84C25 #40A825 #2581A8
square
#8D25A8 #A84C25 #40A825 #2581A8
split-complementary
#8D25A8 #81A825 #25A84C
monochromatic
#390F44 #631A76 #8D25A8 #B337D3 #C669DE

Accessibility & contrast

On white

7.09
#8D25A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D25A8
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D25A8#FFFFFF#000000##FFFFFF
##8D25A81.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AC
Deuteranopia (green-blind)
#2B5BA5
Tritanopia (blue-blind)
#8C4266
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d25a8;
/* rgb */ color: rgb(141, 37, 168);
/* oklch */ color: oklch(48.8% 0.205 318.2);
Tailwind
colors: {
  custom: {
    50: '#b26cc3',
    500: '#8d25a8',
    950: '#000000',
  },
}
SCSS
$custom: #8d25a8;
$custom-light: #b26cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d25a8",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 287.634,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4881,
    "c": 0.20456,
    "h": 318.2
  },
  "luminance": 0.09813
}

Semantic roles & 50–950 ramp

primary
#8D25A8
secondary
#78C465
accent
#E74163
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8D25A8

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

Preview Lab → · Contrast checker → · Palette generator →

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