#9D72EA#9D72EA

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

Color values

HEX#9D72EA
RGBrgb(157, 114, 234)
HSLhsl(262, 74%, 68%)
HSVhsv(262, 51%, 92%)
CMYKcmyk(32.9%, 51.3%, 0%, 8.2%)
CIE-LABlab(57.21, 42.02, -54.87)
CIE-LCHlch(57.21, 69.11, 307.44°)
OKLaboklab(64.85% 0.0819 -0.1549)
OKLCHoklch(64.85% 0.175 297.9)
XYZxyz(34.7696, 25.1428, 80.8472)
Luminance0.2514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D72EA #BFEA72
analogous
#7283EA #9D72EA #D972EA
triadic
#9D72EA #EA9D72 #72EA9D
tetradic
#9D72EA #EA7283 #BFEA72 #72EAD9
square
#9D72EA #EA7283 #BFEA72 #72EAD9
split-complementary
#9D72EA #EAD972 #83EA72
monochromatic
#591DC4 #783DE2 #9D72EA #C2A7F2 #E7DDFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D72EA#FFFFFF#000000##000000
##9D72EA1.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)
#458AEE
Deuteranopia (green-blind)
#5088E7
Tritanopia (blue-blind)
#8C89A3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9d72ea;
/* rgb */ color: rgb(157, 114, 234);
/* oklch */ color: oklch(64.9% 0.175 297.9);
Tailwind
colors: {
  custom: {
    50: '#bd9bf1',
    500: '#9d72ea',
    950: '#000000',
  },
}
SCSS
$custom: #9d72ea;
$custom-light: #bd9bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d72ea",
  "rgb": {
    "r": 157,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 261.5,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64854,
    "c": 0.17528,
    "h": 297.9
  },
  "luminance": 0.25143
}

Semantic roles & 50–950 ramp

primary
#9D72EA
secondary
#E1EECA
accent
#D60F8F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9D72EA

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

Preview Lab → · Contrast checker → · Palette generator →

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