#9D25A5#9D25A5

#9D25A5 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.0% C 0.209 H 325.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9D25A5
RGBrgb(157, 37, 165)
HSLhsl(296, 63%, 40%)
HSVhsv(296, 78%, 65%)
CMYKcmyk(4.8%, 77.6%, 0%, 35.3%)
CIE-LABlab(39.93, 62.89, -42.66)
CIE-LCHlch(39.93, 76.00, 325.85°)
OKLaboklab(50.98% 0.1715 -0.1189)
OKLCHoklch(50.98% 0.209 325.3)
XYZxyz(21.3572, 11.2093, 36.6287)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D25A5 #2DA525
analogous
#5D25A5 #9D25A5 #A5256D
triadic
#9D25A5 #A59D25 #25A59D
tetradic
#9D25A5 #A55D25 #2DA525 #256DA5
square
#9D25A5 #A55D25 #2DA525 #256DA5
split-complementary
#9D25A5 #6DA525 #25A55D
monochromatic
#3E0F41 #6D1A73 #9D25A5 #C835D2 #D667DD

Accessibility & contrast

On white

6.48
#9D25A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9D25A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D25A5
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D25A5#FFFFFF#000000##FFFFFF
##9D25A51.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#4263A2
Tritanopia (blue-blind)
#A13D64
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d25a5;
/* rgb */ color: rgb(157, 37, 165);
/* oklch */ color: oklch(51.0% 0.209 325.3);
Tailwind
colors: {
  custom: {
    50: '#be6ec0',
    500: '#9d25a5',
    950: '#000000',
  },
}
SCSS
$custom: #9d25a5;
$custom-light: #be6ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d25a5",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 165
  },
  "hsl": {
    "h": 296.25,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50977,
    "c": 0.20862,
    "h": 325.3
  },
  "luminance": 0.11208
}

Semantic roles & 50–950 ramp

primary
#9D25A5
secondary
#69C363
accent
#E6414C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D25A5

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

Preview Lab → · Contrast checker → · Palette generator →

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