#9E72FA#9E72FA

#9E72FA is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.9% C 0.195 H 295.5°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9E72FA
RGBrgb(158, 114, 250)
HSLhsl(259, 93%, 71%)
HSVhsv(259, 54%, 98%)
CMYKcmyk(36.8%, 54.4%, 0%, 2%)
CIE-LABlab(58.23, 46.33, -62.12)
CIE-LCHlch(58.23, 77.50, 306.71°)
OKLaboklab(65.93% 0.0839 -0.1762)
OKLCHoklch(65.93% 0.195 295.5)
XYZxyz(37.3687, 26.2052, 93.5132)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E72FA #CEFA72
analogous
#728AFA #9E72FA #E272FA
triadic
#9E72FA #FA9E72 #72FA9E
tetradic
#9E72FA #FA728A #CEFA72 #72FAE2
square
#9E72FA #FA728A #CEFA72 #72FAE2
split-complementary
#9E72FA #FAE272 #8AFA72
monochromatic
#5108E9 #7537F8 #9E72FA #C7ADFC #EBE1FE

Accessibility & contrast

On white

3.36
#9E72FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#9E72FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E72FA
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E72FA#FFFFFF#000000##000000
##9E72FA1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#338DFF
Deuteranopia (green-blind)
#418AF7
Tritanopia (blue-blind)
#888EAB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9e72fa;
/* rgb */ color: rgb(158, 114, 250);
/* oklch */ color: oklch(65.9% 0.195 295.5);
Tailwind
colors: {
  custom: {
    50: '#bf9cfd',
    500: '#9e72fa',
    950: '#000000',
  },
}
SCSS
$custom: #9e72fa;
$custom-light: #bf9cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e72fa",
  "rgb": {
    "r": 158,
    "g": 114,
    "b": 250
  },
  "hsl": {
    "h": 259.412,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.65926,
    "c": 0.19516,
    "h": 295.5
  },
  "luminance": 0.26206
}

Semantic roles & 50–950 ramp

primary
#9E72FA
secondary
#EAF6D2
accent
#E6009B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9E72FA

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

Preview Lab → · Contrast checker → · Palette generator →

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