#9726AB#9726AB

#9726AB is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.5% C 0.210 H 321.0°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9726AB
RGBrgb(151, 38, 171)
HSLhsl(291, 64%, 41%)
HSVhsv(291, 78%, 67%)
CMYKcmyk(11.7%, 77.8%, 0%, 32.9%)
CIE-LABlab(39.42, 62.44, -47.12)
CIE-LCHlch(39.42, 78.22, 322.96°)
OKLaboklab(50.54% 0.1633 -0.1321)
OKLCHoklch(50.54% 0.21 321)
XYZxyz(20.8055, 10.9070, 39.5296)
Luminance0.1091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9726AB #3AAB26
analogous
#5426AB #9726AB #AB267C
triadic
#9726AB #AB9726 #26AB97
tetradic
#9726AB #AB5426 #3AAB26 #267CAB
square
#9726AB #AB5426 #3AAB26 #267CAB
split-complementary
#9726AB #7CAB26 #26AB54
monochromatic
#3F1047 #6B1B79 #9726AB #BC3BD3 #CD6DDF

Accessibility & contrast

On white

6.60
#9726AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9726AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9726AB
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9726AB#FFFFFF#000000##FFFFFF
##9726AB1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#3661A8
Tritanopia (blue-blind)
#984268
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9726ab;
/* rgb */ color: rgb(151, 38, 171);
/* oklch */ color: oklch(50.5% 0.210 321.0);
Tailwind
colors: {
  custom: {
    50: '#ba6ec5',
    500: '#9726ab',
    950: '#000000',
  },
}
SCSS
$custom: #9726ab;
$custom-light: #ba6ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#9726ab",
  "rgb": {
    "r": 151,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 290.977,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50545,
    "c": 0.20998,
    "h": 321
  },
  "luminance": 0.10906
}

Semantic roles & 50–950 ramp

primary
#9726AB
secondary
#76C568
accent
#E7415A
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9726AB

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

Preview Lab → · Contrast checker → · Palette generator →

#9726AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva