#9725B2#9725B2

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

Color values

HEX#9725B2
RGBrgb(151, 37, 178)
HSLhsl(289, 66%, 42%)
HSVhsv(289, 79%, 70%)
CMYKcmyk(15.2%, 79.2%, 0%, 30.2%)
CIE-LABlab(39.78, 64.03, -50.71)
CIE-LCHlch(39.78, 81.68, 321.62°)
OKLaboklab(50.94% 0.1632 -0.1426)
OKLCHoklch(50.94% 0.217 318.9)
XYZxyz(21.4589, 11.1179, 43.1265)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9725B2 #40B225
analogous
#5125B2 #9725B2 #B22586
triadic
#9725B2 #B29725 #25B297
tetradic
#9725B2 #B25125 #40B225 #2586B2
square
#9725B2 #B25125 #40B225 #2586B2
split-complementary
#9725B2 #86B225 #25B251
monochromatic
#41104D #6C1A7F #9725B2 #B93DD7 #CC70E1

Accessibility & contrast

On white

6.51
#9725B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9725B2
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9725B2#FFFFFF#000000##FFFFFF
##9725B21.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#2F61AF
Tritanopia (blue-blind)
#97456C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9725b2;
/* rgb */ color: rgb(151, 37, 178);
/* oklch */ color: oklch(50.9% 0.217 318.9);
Tailwind
colors: {
  custom: {
    50: '#ba6eca',
    500: '#9725b2',
    950: '#000000',
  },
}
SCSS
$custom: #9725b2;
$custom-light: #ba6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#9725b2",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 178
  },
  "hsl": {
    "h": 288.511,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50943,
    "c": 0.21669,
    "h": 318.9
  },
  "luminance": 0.11117
}

Semantic roles & 50–950 ramp

primary
#9725B2
secondary
#7DC86B
accent
#E93F60
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9725B2

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

Preview Lab → · Contrast checker → · Palette generator →

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