#9C72EC#9C72EC

#9C72EC is a light, vivid violet. Relative luminance 0.252; OKLCH L 64.9% C 0.178 H 297.1°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9C72EC
RGBrgb(156, 114, 236)
HSLhsl(261, 76%, 69%)
HSVhsv(261, 52%, 93%)
CMYKcmyk(33.9%, 51.7%, 0%, 7.5%)
CIE-LABlab(57.23, 42.27, -55.97)
CIE-LCHlch(57.23, 70.14, 307.06°)
OKLaboklab(64.88% 0.0808 -0.1582)
OKLCHoklch(64.88% 0.178 297.1)
XYZxyz(34.8642, 25.1582, 82.3598)
Luminance0.2516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C72EC #C2EC72
analogous
#7285EC #9C72EC #D972EC
triadic
#9C72EC #EC9C72 #72EC9C
tetradic
#9C72EC #EC7285 #C2EC72 #72ECD9
square
#9C72EC #EC7285 #C2EC72 #72ECD9
split-complementary
#9C72EC #ECD972 #85EC72
monochromatic
#571BC9 #763CE5 #9C72EC #C2A8F3 #E8DEFB

Accessibility & contrast

On white

3.48
#9C72EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#9C72EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C72EC
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C72EC#FFFFFF#000000##000000
##9C72EC1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#438AF0
Deuteranopia (green-blind)
#4E88E9
Tritanopia (blue-blind)
#8A8AA4
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9c72ec;
/* rgb */ color: rgb(156, 114, 236);
/* oklch */ color: oklch(64.9% 0.178 297.1);
Tailwind
colors: {
  custom: {
    50: '#bd9bf3',
    500: '#9c72ec',
    950: '#000000',
  },
}
SCSS
$custom: #9c72ec;
$custom-light: #bd9bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c72ec",
  "rgb": {
    "r": 156,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 260.656,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.64879,
    "c": 0.17765,
    "h": 297.1
  },
  "luminance": 0.25159
}

Semantic roles & 50–950 ramp

primary
#9C72EC
secondary
#E3EFCB
accent
#D80D92
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9C72EC

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

Preview Lab → · Contrast checker → · Palette generator →

#9C72EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva