#9725B1#9725B1

#9725B1 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.216 H 319.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#9725B1
RGBrgb(151, 37, 177)
HSLhsl(289, 65%, 42%)
HSVhsv(289, 79%, 69%)
CMYKcmyk(14.7%, 79.1%, 0%, 30.6%)
CIE-LABlab(39.71, 63.85, -50.22)
CIE-LCHlch(39.71, 81.23, 321.81°)
OKLaboklab(50.87% 0.1633 -0.1412)
OKLCHoklch(50.87% 0.216 319.2)
XYZxyz(21.3588, 11.0778, 42.5996)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9725B1 #3FB125
analogous
#5125B1 #9725B1 #B12585
triadic
#9725B1 #B19725 #25B197
tetradic
#9725B1 #B15125 #3FB125 #2585B1
square
#9725B1 #B15125 #3FB125 #2585B1
split-complementary
#9725B1 #85B125 #25B151
monochromatic
#41104C #6C1A7E #9725B1 #BA3DD6 #CC6FE1

Accessibility & contrast

On white

6.53
#9725B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9725B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9725B1
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9725B1#FFFFFF#000000##FFFFFF
##9725B11.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#3061AE
Tritanopia (blue-blind)
#97446B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9725b1;
/* rgb */ color: rgb(151, 37, 177);
/* oklch */ color: oklch(50.9% 0.216 319.2);
Tailwind
colors: {
  custom: {
    50: '#ba6ec9',
    500: '#9725b1',
    950: '#000000',
  },
}
SCSS
$custom: #9725b1;
$custom-light: #ba6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#9725b1",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 288.857,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50874,
    "c": 0.21587,
    "h": 319.2
  },
  "luminance": 0.11077
}

Semantic roles & 50–950 ramp

primary
#9725B1
secondary
#7CC86A
accent
#E83F5F
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9725B1

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

Preview Lab → · Contrast checker → · Palette generator →

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