#9E72EA#9E72EA

#9E72EA is a light, vivid violet. Relative luminance 0.252; OKLCH L 65.0% C 0.175 H 298.3°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9E72EA
RGBrgb(158, 114, 234)
HSLhsl(262, 74%, 68%)
HSVhsv(262, 51%, 92%)
CMYKcmyk(32.5%, 51.3%, 0%, 8.2%)
CIE-LABlab(57.31, 42.26, -54.71)
CIE-LCHlch(57.31, 69.13, 307.68°)
OKLaboklab(64.95% 0.0832 -0.1544)
OKLCHoklch(64.95% 0.175 298.3)
XYZxyz(34.9655, 25.2439, 80.8564)
Luminance0.2524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E72EA #BEEA72
analogous
#7282EA #9E72EA #DA72EA
triadic
#9E72EA #EA9E72 #72EA9E
tetradic
#9E72EA #EA7282 #BEEA72 #72EADA
square
#9E72EA #EA7282 #BEEA72 #72EADA
split-complementary
#9E72EA #EADA72 #82EA72
monochromatic
#5B1DC4 #793DE2 #9E72EA #C3A7F2 #E7DDFA

Accessibility & contrast

On white

3.47
#9E72EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#9E72EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E72EA
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E72EA#FFFFFF#000000##000000
##9E72EA1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#468AEE
Deuteranopia (green-blind)
#5188E7
Tritanopia (blue-blind)
#8E89A3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9e72ea;
/* rgb */ color: rgb(158, 114, 234);
/* oklch */ color: oklch(65.0% 0.175 298.3);
Tailwind
colors: {
  custom: {
    50: '#be9bf1',
    500: '#9e72ea',
    950: '#000000',
  },
}
SCSS
$custom: #9e72ea;
$custom-light: #be9bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e72ea",
  "rgb": {
    "r": 158,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 262,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6495,
    "c": 0.17542,
    "h": 298.3
  },
  "luminance": 0.25244
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E72EA

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

Preview Lab → · Contrast checker → · Palette generator →

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