#9726A8#9726A8

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

Color values

HEX#9726A8
RGBrgb(151, 38, 168)
HSLhsl(292, 63%, 40%)
HSVhsv(292, 77%, 66%)
CMYKcmyk(10.1%, 77.4%, 0%, 34.1%)
CIE-LABlab(39.23, 61.90, -45.64)
CIE-LCHlch(39.23, 76.90, 323.60°)
OKLaboklab(50.35% 0.1636 -0.1277)
OKLCHoklch(50.35% 0.208 322)
XYZxyz(20.5227, 10.7939, 38.0406)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9726A8 #37A826
analogous
#5626A8 #9726A8 #A82678
triadic
#9726A8 #A89726 #26A897
tetradic
#9726A8 #A85626 #37A826 #2678A8
square
#9726A8 #A85626 #37A826 #2678A8
split-complementary
#9726A8 #78A826 #26A856
monochromatic
#3D0F44 #6A1B76 #9726A8 #BE39D2 #CF6BDE

Accessibility & contrast

On white

6.65
#9726A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9726A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9726A8
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9726A8#FFFFFF#000000##FFFFFF
##9726A81.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9726a8;
/* rgb */ color: rgb(151, 38, 168);
/* oklch */ color: oklch(50.3% 0.208 322.0);
Tailwind
colors: {
  custom: {
    50: '#ba6ec2',
    500: '#9726a8',
    950: '#000000',
  },
}
SCSS
$custom: #9726a8;
$custom-light: #ba6ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#9726a8",
  "rgb": {
    "r": 151,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 292.154,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50348,
    "c": 0.20752,
    "h": 322
  },
  "luminance": 0.10793
}

Semantic roles & 50–950 ramp

primary
#9726A8
secondary
#72C466
accent
#E64257
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9726A8

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

Preview Lab → · Contrast checker → · Palette generator →

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