#9726BA#9726BA

#9726BA is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.6% C 0.222 H 316.4°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9726BA
RGBrgb(151, 38, 186)
HSLhsl(286, 66%, 44%)
HSVhsv(286, 80%, 73%)
CMYKcmyk(18.8%, 79.6%, 0%, 27.1%)
CIE-LABlab(40.43, 65.23, -54.38)
CIE-LCHlch(40.43, 84.93, 320.18°)
OKLaboklab(51.57% 0.1611 -0.1534)
OKLCHoklch(51.57% 0.222 316.4)
XYZxyz(22.3172, 11.5116, 47.4913)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9726BA #49BA26
analogous
#4D26BA #9726BA #BA2693
triadic
#9726BA #BA9726 #26BA97
tetradic
#9726BA #BA4D26 #49BA26 #2693BA
square
#9726BA #BA4D26 #49BA26 #2693BA
split-complementary
#9726BA #93BA26 #26BA4D
monochromatic
#441154 #6E1C87 #9726BA #B644D9 #CA77E3

Accessibility & contrast

On white

6.36
#9726BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9726BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9726BA
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9726BA#FFFFFF#000000##FFFFFF
##9726BA1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#2562B7
Tritanopia (blue-blind)
#954971
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9726ba;
/* rgb */ color: rgb(151, 38, 186);
/* oklch */ color: oklch(51.6% 0.222 316.4);
Tailwind
colors: {
  custom: {
    50: '#ba6fd0',
    500: '#9726ba',
    950: '#000000',
  },
}
SCSS
$custom: #9726ba;
$custom-light: #ba6fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9726ba",
  "rgb": {
    "r": 151,
    "g": 38,
    "b": 186
  },
  "hsl": {
    "h": 285.811,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51574,
    "c": 0.22245,
    "h": 316.4
  },
  "luminance": 0.11511
}

Semantic roles & 50–950 ramp

primary
#9726BA
secondary
#86CB71
accent
#E93F67
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9726BA

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

Preview Lab → · Contrast checker → · Palette generator →

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