#9726FD#9726FD

#9726FD is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 56.9% C 0.280 H 300.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9726FD
RGBrgb(151, 38, 253)
HSLhsl(272, 98%, 57%)
HSVhsv(272, 85%, 99%)
CMYKcmyk(40.3%, 85%, 0%, 0.8%)
CIE-LABlab(45.71, 78.84, -84.15)
CIE-LCHlch(45.71, 115.32, 313.13°)
OKLaboklab(56.87% 0.1428 -0.2408)
OKLCHoklch(56.87% 0.28 300.7)
XYZxyz(31.1808, 15.0571, 94.1730)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9726FD #8CFD26
analogous
#2C26FD #9726FD #FD26F8
triadic
#9726FD #FD9726 #26FD97
tetradic
#9726FD #FD2C26 #8CFD26 #26F8FD
square
#9726FD #FD2C26 #8CFD26 #26F8FD
split-complementary
#9726FD #F8FD26 #26FD2C
monochromatic
#5902A7 #7902E4 #9726FD #B463FE #D19FFE

Accessibility & contrast

On white

5.24
#9726FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9726FD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9726FD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9726FD#FFFFFF#000000##FFFFFF
##9726FD1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BFF
Deuteranopia (green-blind)
#006BF9
Tritanopia (blue-blind)
#7F6898
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9726fd;
/* rgb */ color: rgb(151, 38, 253);
/* oklch */ color: oklch(56.9% 0.280 300.7);
Tailwind
colors: {
  custom: {
    50: '#bf72ff',
    500: '#9726fd',
    950: '#000000',
  },
}
SCSS
$custom: #9726fd;
$custom-light: #bf72ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9726fd",
  "rgb": {
    "r": 151,
    "g": 38,
    "b": 253
  },
  "hsl": {
    "h": 271.535,
    "s": 98.174,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56874,
    "c": 0.27994,
    "h": 300.7
  },
  "luminance": 0.15057
}

Semantic roles & 50–950 ramp

primary
#9726FD
secondary
#BDEB94
accent
#FF298E
background
#FCF7FF
surface
#F8EDFF
border
#D1C8D7
text
#130918
muted
#827B86

Preview Lab

Preview with #9726FD

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

Preview Lab → · Contrast checker → · Palette generator →

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