#9726A2#9726A2

#9726A2 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.203 H 324.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9726A2
RGBrgb(151, 38, 162)
HSLhsl(295, 62%, 39%)
HSVhsv(295, 77%, 64%)
CMYKcmyk(6.8%, 76.5%, 0%, 36.5%)
CIE-LABlab(38.86, 60.83, -42.64)
CIE-LCHlch(38.86, 74.29, 324.97°)
OKLaboklab(49.96% 0.164 -0.119)
OKLCHoklch(49.96% 0.203 324)
XYZxyz(19.9766, 10.5754, 35.1645)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9726A2 #31A226
analogous
#5926A2 #9726A2 #A2266F
triadic
#9726A2 #A29726 #26A297
tetradic
#9726A2 #A25926 #31A226 #266FA2
square
#9726A2 #A25926 #31A226 #266FA2
split-complementary
#9726A2 #6FA226 #26A259
monochromatic
#3B0F3F #691A70 #9726A2 #C235D0 #D167DB

Accessibility & contrast

On white

6.74
#9726A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9726A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9726A2
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9726A2#FFFFFF#000000##FFFFFF
##9726A21.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#3E609F
Tritanopia (blue-blind)
#9A3D63
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9726a2;
/* rgb */ color: rgb(151, 38, 162);
/* oklch */ color: oklch(50.0% 0.203 324.0);
Tailwind
colors: {
  custom: {
    50: '#b96ebe',
    500: '#9726a2',
    950: '#000000',
  },
}
SCSS
$custom: #9726a2;
$custom-light: #b96ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#9726a2",
  "rgb": {
    "r": 151,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 294.677,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49962,
    "c": 0.20264,
    "h": 324
  },
  "luminance": 0.10574
}

Semantic roles & 50–950 ramp

primary
#9726A2
secondary
#6BC163
accent
#E54351
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9726A2

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

Preview Lab → · Contrast checker → · Palette generator →

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