#9725A9#9725A9

#9725A9 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.209 H 321.7°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9725A9
RGBrgb(151, 37, 169)
HSLhsl(292, 64%, 40%)
HSVhsv(292, 78%, 66%)
CMYKcmyk(10.7%, 78.1%, 0%, 33.7%)
CIE-LABlab(39.19, 62.39, -46.30)
CIE-LCHlch(39.19, 77.69, 323.42°)
OKLaboklab(50.34% 0.1643 -0.1297)
OKLCHoklch(50.34% 0.209 321.7)
XYZxyz(20.5847, 10.7682, 38.5226)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9725A9 #37A925
analogous
#5525A9 #9725A9 #A92579
triadic
#9725A9 #A99725 #25A997
tetradic
#9725A9 #A95525 #37A925 #2579A9
square
#9725A9 #A95525 #37A925 #2579A9
split-complementary
#9725A9 #79A925 #25A955
monochromatic
#3D0F45 #6A1A77 #9725A9 #BE38D3 #CF6ADE

Accessibility & contrast

On white

6.66
#9725A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9725A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9725A9
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9725A9#FFFFFF#000000##FFFFFF
##9725A91.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#3860A6
Tritanopia (blue-blind)
#984067
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9725a9;
/* rgb */ color: rgb(151, 37, 169);
/* oklch */ color: oklch(50.3% 0.209 321.7);
Tailwind
colors: {
  custom: {
    50: '#ba6dc3',
    500: '#9725a9',
    950: '#000000',
  },
}
SCSS
$custom: #9725a9;
$custom-light: #ba6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9725a9",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 291.818,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50337,
    "c": 0.2093,
    "h": 321.7
  },
  "luminance": 0.10767
}

Semantic roles & 50–950 ramp

primary
#9725A9
secondary
#72C465
accent
#E74157
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9725A9

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

Preview Lab → · Contrast checker → · Palette generator →

#9725A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva