#9D25A9#9D25A9

#9D25A9 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.212 H 323.9°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9D25A9
RGBrgb(157, 37, 169)
HSLhsl(295, 64%, 40%)
HSVhsv(295, 78%, 66%)
CMYKcmyk(7.1%, 78.1%, 0%, 33.7%)
CIE-LABlab(40.18, 63.58, -44.66)
CIE-LCHlch(40.18, 77.70, 324.91°)
OKLaboklab(51.23% 0.1712 -0.1247)
OKLCHoklch(51.23% 0.212 323.9)
XYZxyz(21.7270, 11.3572, 38.5762)
Luminance0.1136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D25A9 #31A925
analogous
#5B25A9 #9D25A9 #A92573
triadic
#9D25A9 #A99D25 #25A99D
tetradic
#9D25A9 #A95B25 #31A925 #2573A9
square
#9D25A9 #A95B25 #31A925 #2573A9
split-complementary
#9D25A9 #73A925 #25A95B
monochromatic
#400F45 #6E1A77 #9D25A9 #C538D3 #D46ADE

Accessibility & contrast

On white

6.42
#9D25A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9D25A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D25A9
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D25A9#FFFFFF#000000##FFFFFF
##9D25A91.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#3F63A6
Tritanopia (blue-blind)
#A03F67
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9d25a9;
/* rgb */ color: rgb(157, 37, 169);
/* oklch */ color: oklch(51.2% 0.212 323.9);
Tailwind
colors: {
  custom: {
    50: '#be6ec3',
    500: '#9d25a9',
    950: '#000000',
  },
}
SCSS
$custom: #9d25a9;
$custom-light: #be6ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d25a9",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 294.545,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5123,
    "c": 0.21178,
    "h": 323.9
  },
  "luminance": 0.11356
}

Semantic roles & 50–950 ramp

primary
#9D25A9
secondary
#6EC465
accent
#E74150
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9D25A9

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

Preview Lab → · Contrast checker → · Palette generator →

#9D25A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva