#9D25A6#9D25A6

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

Color values

HEX#9D25A6
RGBrgb(157, 37, 166)
HSLhsl(296, 64%, 40%)
HSVhsv(296, 78%, 65%)
CMYKcmyk(5.4%, 77.7%, 0%, 34.9%)
CIE-LABlab(39.99, 63.07, -43.17)
CIE-LCHlch(39.99, 76.42, 325.61°)
OKLaboklab(51.04% 0.1714 -0.1203)
OKLCHoklch(51.04% 0.209 324.9)
XYZxyz(21.4486, 11.2458, 37.1099)
Luminance0.1124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D25A6 #2EA625
analogous
#5D25A6 #9D25A6 #A6256F
triadic
#9D25A6 #A69D25 #25A69D
tetradic
#9D25A6 #A65D25 #2EA625 #256FA6
square
#9D25A6 #A65D25 #2EA625 #256FA6
split-complementary
#9D25A6 #6FA625 #25A65D
monochromatic
#3E0F42 #6E1A74 #9D25A6 #C736D2 #D568DD

Accessibility & contrast

On white

6.46
#9D25A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9D25A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D25A6
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D25A6#FFFFFF#000000##FFFFFF
##9D25A61.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#4163A3
Tritanopia (blue-blind)
#A03D65
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d25a6;
/* rgb */ color: rgb(157, 37, 166);
/* oklch */ color: oklch(51.0% 0.209 324.9);
Tailwind
colors: {
  custom: {
    50: '#be6ec1',
    500: '#9d25a6',
    950: '#000000',
  },
}
SCSS
$custom: #9d25a6;
$custom-light: #be6ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d25a6",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 166
  },
  "hsl": {
    "h": 295.814,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5104,
    "c": 0.20941,
    "h": 324.9
  },
  "luminance": 0.11244
}

Semantic roles & 50–950 ramp

primary
#9D25A6
secondary
#6AC364
accent
#E7414D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D25A6

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

Preview Lab → · Contrast checker → · Palette generator →

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