#9D72EE#9D72EE

#9D72EE is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.1% C 0.180 H 297.1°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9D72EE
RGBrgb(157, 114, 238)
HSLhsl(261, 78%, 69%)
HSVhsv(261, 52%, 93%)
CMYKcmyk(34%, 52.1%, 0%, 6.7%)
CIE-LABlab(57.44, 43.03, -56.74)
CIE-LCHlch(57.44, 71.21, 307.17°)
OKLaboklab(65.09% 0.0822 -0.1604)
OKLCHoklch(65.09% 0.18 297.1)
XYZxyz(35.3507, 25.3753, 83.9078)
Luminance0.2538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D72EE #C3EE72
analogous
#7285EE #9D72EE #DB72EE
triadic
#9D72EE #EE9D72 #72EE9D
tetradic
#9D72EE #EE7285 #C3EE72 #72EEDB
square
#9D72EE #EE7285 #C3EE72 #72EEDB
split-complementary
#9D72EE #EEDB72 #85EE72
monochromatic
#5719CD #773BE7 #9D72EE #C3A9F5 #E9DFFB

Accessibility & contrast

On white

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

On black

6.08
#9D72EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D72EE
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D72EE#FFFFFF#000000##000000
##9D72EE1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#418AF2
Deuteranopia (green-blind)
#4D88EB
Tritanopia (blue-blind)
#8B8BA5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9d72ee;
/* rgb */ color: rgb(157, 114, 238);
/* oklch */ color: oklch(65.1% 0.180 297.1);
Tailwind
colors: {
  custom: {
    50: '#be9bf4',
    500: '#9d72ee',
    950: '#000000',
  },
}
SCSS
$custom: #9d72ee;
$custom-light: #be9bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d72ee",
  "rgb": {
    "r": 157,
    "g": 114,
    "b": 238
  },
  "hsl": {
    "h": 260.806,
    "s": 78.481,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65094,
    "c": 0.18026,
    "h": 297.1
  },
  "luminance": 0.25376
}

Semantic roles & 50–950 ramp

primary
#9D72EE
secondary
#E3F0CC
accent
#DB0B93
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9D72EE

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

Preview Lab → · Contrast checker → · Palette generator →

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