#9725A7#9725A7

#9725A7 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.208 H 322.4°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9725A7
RGBrgb(151, 37, 167)
HSLhsl(293, 64%, 40%)
HSVhsv(293, 78%, 65%)
CMYKcmyk(9.6%, 77.8%, 0%, 34.5%)
CIE-LABlab(39.06, 62.03, -45.31)
CIE-LCHlch(39.06, 76.82, 323.85°)
OKLaboklab(50.21% 0.1645 -0.1268)
OKLCHoklch(50.21% 0.208 322.4)
XYZxyz(20.3984, 10.6937, 37.5414)
Luminance0.1069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9725A7 #35A725
analogous
#5625A7 #9725A7 #A72576
triadic
#9725A7 #A79725 #25A797
tetradic
#9725A7 #A75625 #35A725 #2576A7
square
#9725A7 #A75625 #35A725 #2576A7
split-complementary
#9725A7 #76A725 #25A756
monochromatic
#3C0F43 #6A1A75 #9725A7 #BF37D3 #CF69DE

Accessibility & contrast

On white

6.69
#9725A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9725A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9725A7
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9725A7#FFFFFF#000000##FFFFFF
##9725A71.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#3960A4
Tritanopia (blue-blind)
#993F66
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9725a7;
/* rgb */ color: rgb(151, 37, 167);
/* oklch */ color: oklch(50.2% 0.208 322.4);
Tailwind
colors: {
  custom: {
    50: '#ba6dc2',
    500: '#9725a7',
    950: '#000000',
  },
}
SCSS
$custom: #9725a7;
$custom-light: #ba6dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9725a7",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 292.615,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.50206,
    "c": 0.20767,
    "h": 322.4
  },
  "luminance": 0.10692
}

Semantic roles & 50–950 ramp

primary
#9725A7
secondary
#70C464
accent
#E74155
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9725A7

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

Preview Lab → · Contrast checker → · Palette generator →

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