#8D25A3#8D25A3

#8D25A3 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.5% C 0.200 H 319.8°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8D25A3
RGBrgb(141, 37, 163)
HSLhsl(290, 63%, 39%)
HSVhsv(290, 77%, 64%)
CMYKcmyk(13.5%, 77.3%, 0%, 36.1%)
CIE-LABlab(37.17, 59.30, -46.03)
CIE-LCHlch(37.17, 75.07, 322.18°)
OKLaboklab(48.47% 0.1531 -0.1292)
OKLCHoklch(48.47% 0.2 319.8)
XYZxyz(18.2561, 9.6311, 35.5406)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D25A3 #3BA325
analogous
#4E25A3 #8D25A3 #A3257A
triadic
#8D25A3 #A38D25 #25A38D
tetradic
#8D25A3 #A34E25 #3BA325 #257AA3
square
#8D25A3 #A34E25 #3BA325 #257AA3
split-complementary
#8D25A3 #7AA325 #25A34E
monochromatic
#370E3F #621A71 #8D25A3 #B634D1 #C866DC

Accessibility & contrast

On white

7.18
#8D25A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8D25A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D25A3
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D25A3#FFFFFF#000000##FFFFFF
##8D25A31.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A6
Deuteranopia (green-blind)
#315BA0
Tritanopia (blue-blind)
#8D3F63
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d25a3;
/* rgb */ color: rgb(141, 37, 163);
/* oklch */ color: oklch(48.5% 0.200 319.8);
Tailwind
colors: {
  custom: {
    50: '#b26cbf',
    500: '#8d25a3',
    950: '#000000',
  },
}
SCSS
$custom: #8d25a3;
$custom-light: #b26cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d25a3",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 289.524,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48467,
    "c": 0.2003,
    "h": 319.8
  },
  "luminance": 0.0963
}

Semantic roles & 50–950 ramp

primary
#8D25A3
secondary
#73C262
accent
#E6425E
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D25A3

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

Preview Lab → · Contrast checker → · Palette generator →

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