#9726AF#9726AF

#9726AF is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.213 H 319.7°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9726AF
RGBrgb(151, 38, 175)
HSLhsl(289, 64%, 42%)
HSVhsv(289, 78%, 69%)
CMYKcmyk(13.7%, 78.3%, 0%, 31.4%)
CIE-LABlab(39.68, 63.17, -49.08)
CIE-LCHlch(39.68, 80.00, 322.16°)
OKLaboklab(50.81% 0.1628 -0.1378)
OKLCHoklch(50.81% 0.213 319.7)
XYZxyz(21.1925, 11.0618, 41.5680)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9726AF #3EAF26
analogous
#5326AF #9726AF #AF2683
triadic
#9726AF #AF9726 #26AF97
tetradic
#9726AF #AF5326 #3EAF26 #2683AF
square
#9726AF #AF5326 #3EAF26 #2683AF
split-complementary
#9726AF #83AF26 #26AF53
monochromatic
#40104A #6C1B7D #9726AF #BA3DD5 #CC70E0

Accessibility & contrast

On white

6.54
#9726AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9726AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9726AF
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9726AF#FFFFFF#000000##FFFFFF
##9726AF1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#3361AC
Tritanopia (blue-blind)
#97446A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9726af;
/* rgb */ color: rgb(151, 38, 175);
/* oklch */ color: oklch(50.8% 0.213 319.7);
Tailwind
colors: {
  custom: {
    50: '#ba6ec8',
    500: '#9726af',
    950: '#000000',
  },
}
SCSS
$custom: #9726af;
$custom-light: #ba6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#9726af",
  "rgb": {
    "r": 151,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 289.489,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50813,
    "c": 0.21328,
    "h": 319.7
  },
  "luminance": 0.11061
}

Semantic roles & 50–950 ramp

primary
#9726AF
secondary
#7AC76A
accent
#E7405E
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9726AF

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

Preview Lab → · Contrast checker → · Palette generator →

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