#9A72EE#9A72EE

#9A72EE is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.8% C 0.180 H 295.9°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#9A72EE
RGBrgb(154, 114, 238)
HSLhsl(259, 78%, 69%)
HSVhsv(259, 52%, 93%)
CMYKcmyk(35.3%, 52.1%, 0%, 6.7%)
CIE-LABlab(57.15, 42.30, -57.22)
CIE-LCHlch(57.15, 71.16, 306.47°)
OKLaboklab(64.81% 0.0785 -0.1619)
OKLCHoklch(64.81% 0.18 295.9)
XYZxyz(34.7724, 25.0771, 83.8807)
Luminance0.2508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A72EE #C6EE72
analogous
#7288EE #9A72EE #D872EE
triadic
#9A72EE #EE9A72 #72EE9A
tetradic
#9A72EE #EE7288 #C6EE72 #72EED8
square
#9A72EE #EE7288 #C6EE72 #72EED8
split-complementary
#9A72EE #EED872 #88EE72
monochromatic
#5319CD #733BE7 #9A72EE #C1A9F5 #E8DFFB

Accessibility & contrast

On white

3.49
#9A72EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#9A72EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A72EE
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A72EE#FFFFFF#000000##000000
##9A72EE1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#408AF2
Deuteranopia (green-blind)
#4A87EB
Tritanopia (blue-blind)
#868BA5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9a72ee;
/* rgb */ color: rgb(154, 114, 238);
/* oklch */ color: oklch(64.8% 0.180 295.9);
Tailwind
colors: {
  custom: {
    50: '#bc9bf4',
    500: '#9a72ee',
    950: '#000000',
  },
}
SCSS
$custom: #9a72ee;
$custom-light: #bc9bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a72ee",
  "rgb": {
    "r": 154,
    "g": 114,
    "b": 238
  },
  "hsl": {
    "h": 259.355,
    "s": 78.481,
    "l": 69.02
  },
  "oklch": {
    "l": 0.64812,
    "c": 0.17994,
    "h": 295.9
  },
  "luminance": 0.25078
}

Semantic roles & 50–950 ramp

primary
#9A72EE
secondary
#E4F0CC
accent
#DB0B98
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9A72EE

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

Preview Lab → · Contrast checker → · Palette generator →

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