#9A72FA#9A72FA

#9A72FA is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.6% C 0.195 H 293.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9A72FA
RGBrgb(154, 114, 250)
HSLhsl(258, 93%, 71%)
HSVhsv(258, 54%, 98%)
CMYKcmyk(38.4%, 54.4%, 0%, 2%)
CIE-LABlab(57.85, 45.41, -62.75)
CIE-LCHlch(57.85, 77.46, 305.89°)
OKLaboklab(65.56% 0.079 -0.1781)
OKLCHoklch(65.56% 0.195 293.9)
XYZxyz(36.5945, 25.8059, 93.4769)
Luminance0.2581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A72FA #D2FA72
analogous
#728EFA #9A72FA #DE72FA
triadic
#9A72FA #FA9A72 #72FA9A
tetradic
#9A72FA #FA728E #D2FA72 #72FADE
square
#9A72FA #FA728E #D2FA72 #72FADE
split-complementary
#9A72FA #FADE72 #8EFA72
monochromatic
#4A08E9 #7037F8 #9A72FA #C4ADFC #EAE1FE

Accessibility & contrast

On white

3.41
#9A72FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#9A72FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A72FA
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A72FA#FFFFFF#000000##000000
##9A72FA1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#318CFF
Deuteranopia (green-blind)
#3C89F7
Tritanopia (blue-blind)
#828EAB
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9a72fa;
/* rgb */ color: rgb(154, 114, 250);
/* oklch */ color: oklch(65.6% 0.195 293.9);
Tailwind
colors: {
  custom: {
    50: '#bd9cfd',
    500: '#9a72fa',
    950: '#000000',
  },
}
SCSS
$custom: #9a72fa;
$custom-light: #bd9cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a72fa",
  "rgb": {
    "r": 154,
    "g": 114,
    "b": 250
  },
  "hsl": {
    "h": 257.647,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.65557,
    "c": 0.19487,
    "h": 293.9
  },
  "luminance": 0.25807
}

Semantic roles & 50–950 ramp

primary
#9A72FA
secondary
#EBF6D2
accent
#E600A2
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9A72FA

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

Preview Lab → · Contrast checker → · Palette generator →

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