#9726DC#9726DC

#9726DC is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 54.1% C 0.251 H 307.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9726DC
RGBrgb(151, 38, 220)
HSLhsl(277, 72%, 51%)
HSVhsv(277, 83%, 86%)
CMYKcmyk(31.4%, 82.7%, 0%, 13.7%)
CIE-LABlab(42.96, 71.96, -70.00)
CIE-LCHlch(42.96, 100.39, 315.79°)
OKLaboklab(54.14% 0.1533 -0.1992)
OKLCHoklch(54.14% 0.251 307.6)
XYZxyz(26.3711, 13.1332, 68.8420)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9726DC #6BDC26
analogous
#3C26DC #9726DC #DC26C6
triadic
#9726DC #DC9726 #26DC97
tetradic
#9726DC #DC3C26 #6BDC26 #26C6DC
square
#9726DC #DC3C26 #6BDC26 #26C6DC
split-complementary
#9726DC #C6DC26 #26DC3C
monochromatic
#501375 #741BA9 #9726DC #B05BE4 #CA8FED

Accessibility & contrast

On white

5.79
#9726DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9726DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9726DC
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9726DC#FFFFFF#000000##FFFFFF
##9726DC1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E1
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#8B5984
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9726dc;
/* rgb */ color: rgb(151, 38, 220);
/* oklch */ color: oklch(54.1% 0.251 307.6);
Tailwind
colors: {
  custom: {
    50: '#bc70e8',
    500: '#9726dc',
    950: '#000000',
  },
}
SCSS
$custom: #9726dc;
$custom-light: #bc70e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9726dc",
  "rgb": {
    "r": 151,
    "g": 38,
    "b": 220
  },
  "hsl": {
    "h": 277.253,
    "s": 72.222,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54136,
    "c": 0.25138,
    "h": 307.6
  },
  "luminance": 0.13133
}

Semantic roles & 50–950 ramp

primary
#9726DC
secondary
#A5D786
accent
#EF397E
background
#FCF7FE
surface
#F8EDFD
border
#D1C8D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9726DC

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

Preview Lab → · Contrast checker → · Palette generator →

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