#9725A8#9725A8

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

Color values

HEX#9725A8
RGBrgb(151, 37, 168)
HSLhsl(292, 64%, 40%)
HSVhsv(292, 78%, 66%)
CMYKcmyk(10.1%, 78%, 0%, 34.1%)
CIE-LABlab(39.12, 62.21, -45.81)
CIE-LCHlch(39.12, 77.26, 323.63°)
OKLaboklab(50.27% 0.1644 -0.1282)
OKLCHoklch(50.27% 0.208 322)
XYZxyz(20.4912, 10.7308, 38.0301)
Luminance0.1073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9725A8 #36A825
analogous
#5625A8 #9725A8 #A82577
triadic
#9725A8 #A89725 #25A897
tetradic
#9725A8 #A85625 #36A825 #2577A8
square
#9725A8 #A85625 #36A825 #2577A8
split-complementary
#9725A8 #77A825 #25A856
monochromatic
#3D0F44 #6A1A76 #9725A8 #BF37D3 #CF69DE

Accessibility & contrast

On white

6.68
#9725A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9725A8
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9725A8#FFFFFF#000000##FFFFFF
##9725A81.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#3960A5
Tritanopia (blue-blind)
#994066
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9725a8;
/* rgb */ color: rgb(151, 37, 168);
/* oklch */ color: oklch(50.3% 0.208 322.0);
Tailwind
colors: {
  custom: {
    50: '#ba6dc2',
    500: '#9725a8',
    950: '#000000',
  },
}
SCSS
$custom: #9725a8;
$custom-light: #ba6dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9725a8",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 292.214,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50272,
    "c": 0.20849,
    "h": 322
  },
  "luminance": 0.1073
}

Semantic roles & 50–950 ramp

primary
#9725A8
secondary
#71C465
accent
#E74156
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9725A8

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

Preview Lab → · Contrast checker → · Palette generator →

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