#9725BA#9725BA

#9725BA is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.5% C 0.223 H 316.5°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9725BA
RGBrgb(151, 37, 186)
HSLhsl(286, 67%, 44%)
HSVhsv(286, 80%, 73%)
CMYKcmyk(18.8%, 80.1%, 0%, 27.1%)
CIE-LABlab(40.33, 65.53, -54.55)
CIE-LCHlch(40.33, 85.27, 320.23°)
OKLaboklab(51.5% 0.1619 -0.1538)
OKLCHoklch(51.5% 0.223 316.5)
XYZxyz(22.2856, 11.4486, 47.4807)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9725BA #48BA25
analogous
#4C25BA #9725BA #BA2592
triadic
#9725BA #BA9725 #25BA97
tetradic
#9725BA #BA4C25 #48BA25 #2592BA
square
#9725BA #BA4C25 #48BA25 #2592BA
split-complementary
#9725BA #92BA25 #25BA4C
monochromatic
#441154 #6E1B87 #9725BA #B643DA #CA76E4

Accessibility & contrast

On white

6.38
#9725BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9725BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9725BA
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9725BA#FFFFFF#000000##FFFFFF
##9725BA1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#2462B7
Tritanopia (blue-blind)
#954870
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9725ba;
/* rgb */ color: rgb(151, 37, 186);
/* oklch */ color: oklch(51.5% 0.223 316.5);
Tailwind
colors: {
  custom: {
    50: '#ba6ed0',
    500: '#9725ba',
    950: '#000000',
  },
}
SCSS
$custom: #9725ba;
$custom-light: #ba6ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#9725ba",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 186
  },
  "hsl": {
    "h": 285.906,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51502,
    "c": 0.22333,
    "h": 316.5
  },
  "luminance": 0.11448
}

Semantic roles & 50–950 ramp

primary
#9725BA
secondary
#85CB70
accent
#EA3E66
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9725BA

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

Preview Lab → · Contrast checker → · Palette generator →

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