#9726B1#9726B1

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

Color values

HEX#9726B1
RGBrgb(151, 38, 177)
HSLhsl(289, 65%, 42%)
HSVhsv(289, 79%, 69%)
CMYKcmyk(14.7%, 78.5%, 0%, 30.6%)
CIE-LABlab(39.82, 63.54, -50.05)
CIE-LCHlch(39.82, 80.89, 321.77°)
OKLaboklab(50.95% 0.1625 -0.1407)
OKLCHoklch(50.95% 0.215 319.1)
XYZxyz(21.3904, 11.1409, 42.6101)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9726B1 #40B126
analogous
#5226B1 #9726B1 #B12686
triadic
#9726B1 #B19726 #26B197
tetradic
#9726B1 #B15226 #40B126 #2686B1
square
#9726B1 #B15226 #40B126 #2686B1
split-complementary
#9726B1 #86B126 #26B152
monochromatic
#41104C #6C1B7F #9726B1 #B93FD6 #CC71E0

Accessibility & contrast

On white

6.51
#9726B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9726B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9726B1
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9726B1#FFFFFF#000000##FFFFFF
##9726B11.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9726b1;
/* rgb */ color: rgb(151, 38, 177);
/* oklch */ color: oklch(50.9% 0.215 319.1);
Tailwind
colors: {
  custom: {
    50: '#ba6ec9',
    500: '#9726b1',
    950: '#000000',
  },
}
SCSS
$custom: #9726b1;
$custom-light: #ba6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#9726b1",
  "rgb": {
    "r": 151,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 288.777,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50949,
    "c": 0.21494,
    "h": 319.1
  },
  "luminance": 0.1114
}

Semantic roles & 50–950 ramp

primary
#9726B1
secondary
#7DC76B
accent
#E8405F
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9726B1

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

Preview Lab → · Contrast checker → · Palette generator →

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