#9C72EF#9C72EF

#9C72EF is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.1% C 0.181 H 296.5°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#9C72EF
RGBrgb(156, 114, 239)
HSLhsl(260, 80%, 69%)
HSVhsv(260, 52%, 94%)
CMYKcmyk(34.7%, 52.3%, 0%, 6.3%)
CIE-LABlab(57.40, 43.04, -57.37)
CIE-LCHlch(57.40, 71.72, 306.88°)
OKLaboklab(65.06% 0.081 -0.1623)
OKLCHoklch(65.06% 0.181 296.5)
XYZxyz(35.3037, 25.3340, 84.6746)
Luminance0.2534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C72EF #C5EF72
analogous
#7287EF #9C72EF #DB72EF
triadic
#9C72EF #EF9C72 #72EF9C
tetradic
#9C72EF #EF7287 #C5EF72 #72EFDB
square
#9C72EF #EF7287 #C5EF72 #72EFDB
split-complementary
#9C72EF #EFDB72 #87EF72
monochromatic
#5518CF #753BE9 #9C72EF #C3A9F5 #E9E0FB

Accessibility & contrast

On white

3.46
#9C72EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#9C72EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C72EF
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C72EF#FFFFFF#000000##000000
##9C72EF1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#408AF3
Deuteranopia (green-blind)
#4B88EC
Tritanopia (blue-blind)
#898BA6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9c72ef;
/* rgb */ color: rgb(156, 114, 239);
/* oklch */ color: oklch(65.1% 0.181 296.5);
Tailwind
colors: {
  custom: {
    50: '#bd9bf5',
    500: '#9c72ef',
    950: '#000000',
  },
}
SCSS
$custom: #9c72ef;
$custom-light: #bd9bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c72ef",
  "rgb": {
    "r": 156,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 260.16,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6506,
    "c": 0.18139,
    "h": 296.5
  },
  "luminance": 0.25335
}

Semantic roles & 50–950 ramp

primary
#9C72EF
secondary
#E4F1CC
accent
#DC0A95
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9C72EF

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

Preview Lab → · Contrast checker → · Palette generator →

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