#9726CA#9726CA

#9726CA is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.7% C 0.236 H 312.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9726CA
RGBrgb(151, 38, 202)
HSLhsl(281, 68%, 47%)
HSVhsv(281, 81%, 79%)
CMYKcmyk(25.2%, 81.2%, 0%, 20.8%)
CIE-LABlab(41.58, 68.34, -61.87)
CIE-LCHlch(41.58, 92.19, 317.84°)
OKLaboklab(52.74% 0.1579 -0.1754)
OKLCHoklch(52.74% 0.236 312)
XYZxyz(24.1143, 12.2305, 56.9561)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9726CA #59CA26
analogous
#4526CA #9726CA #CA26AB
triadic
#9726CA #CA9726 #26CA97
tetradic
#9726CA #CA4526 #59CA26 #26ABCA
square
#9726CA #CA4526 #59CA26 #26ABCA
split-complementary
#9726CA #ABCA26 #26CA45
monochromatic
#4A1363 #701C96 #9726CA #B24FDE #C883E8

Accessibility & contrast

On white

6.09
#9726CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9726CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9726CA
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9726CA#FFFFFF#000000##FFFFFF
##9726CA1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#91507A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9726ca;
/* rgb */ color: rgb(151, 38, 202);
/* oklch */ color: oklch(52.7% 0.236 312.0);
Tailwind
colors: {
  custom: {
    50: '#bb6fdb',
    500: '#9726ca',
    950: '#000000',
  },
}
SCSS
$custom: #9726ca;
$custom-light: #bb6fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9726ca",
  "rgb": {
    "r": 151,
    "g": 38,
    "b": 202
  },
  "hsl": {
    "h": 281.341,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52743,
    "c": 0.23599,
    "h": 312
  },
  "luminance": 0.1223
}

Semantic roles & 50–950 ramp

primary
#9726CA
secondary
#96D17B
accent
#EB3D73
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130815
muted
#827B83

Preview Lab

Preview with #9726CA

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

Preview Lab → · Contrast checker → · Palette generator →

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