#9D72EF#9D72EF

#9D72EF is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.2% C 0.181 H 296.9°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9D72EF
RGBrgb(157, 114, 239)
HSLhsl(261, 80%, 69%)
HSVhsv(261, 52%, 94%)
CMYKcmyk(34.3%, 52.3%, 0%, 6.3%)
CIE-LABlab(57.50, 43.28, -57.21)
CIE-LCHlch(57.50, 71.74, 307.11°)
OKLaboklab(65.15% 0.0823 -0.1618)
OKLCHoklch(65.15% 0.182 296.9)
XYZxyz(35.4980, 25.4342, 84.6837)
Luminance0.2544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D72EF #C4EF72
analogous
#7286EF #9D72EF #DC72EF
triadic
#9D72EF #EF9D72 #72EF9D
tetradic
#9D72EF #EF7286 #C4EF72 #72EFDC
square
#9D72EF #EF7286 #C4EF72 #72EFDC
split-complementary
#9D72EF #EFDC72 #86EF72
monochromatic
#5718CF #773BE9 #9D72EF #C3A9F5 #E9E0FB

Accessibility & contrast

On white

3.45
#9D72EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#9D72EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D72EF
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D72EF#FFFFFF#000000##000000
##9D72EF1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#408BF3
Deuteranopia (green-blind)
#4C89EC
Tritanopia (blue-blind)
#8A8BA6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9d72ef;
/* rgb */ color: rgb(157, 114, 239);
/* oklch */ color: oklch(65.2% 0.181 296.9);
Tailwind
colors: {
  custom: {
    50: '#be9cf5',
    500: '#9d72ef',
    950: '#000000',
  },
}
SCSS
$custom: #9d72ef;
$custom-light: #be9cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d72ef",
  "rgb": {
    "r": 157,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 260.64,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.65154,
    "c": 0.1815,
    "h": 296.9
  },
  "luminance": 0.25435
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D72EF

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

Preview Lab → · Contrast checker → · Palette generator →

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