#9A72FE#9A72FE

#9A72FE is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.8% C 0.200 H 293.3°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#9A72FE
RGBrgb(154, 114, 254)
HSLhsl(257, 99%, 72%)
HSVhsv(257, 55%, 100%)
CMYKcmyk(39.4%, 55.1%, 0%, 0.4%)
CIE-LABlab(58.09, 46.46, -64.57)
CIE-LCHlch(58.09, 79.55, 305.74°)
OKLaboklab(65.81% 0.0791 -0.1835)
OKLCHoklch(65.81% 0.2 293.3)
XYZxyz(37.2284, 26.0595, 96.8152)
Luminance0.2606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A72FE #D6FE72
analogous
#7290FE #9A72FE #E072FE
triadic
#9A72FE #FE9A72 #72FE9A
tetradic
#9A72FE #FE7290 #D6FE72 #72FEE0
square
#9A72FE #FE7290 #D6FE72 #72FEE0
split-complementary
#9A72FE #FEE072 #90FE72
monochromatic
#4702F4 #6E35FE #9A72FE #C6AFFE #E9E1FF

Accessibility & contrast

On white

3.38
#9A72FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#9A72FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A72FE
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A72FE#FFFFFF#000000##000000
##9A72FE1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A8DFF
Deuteranopia (green-blind)
#3789FB
Tritanopia (blue-blind)
#8090AD
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9a72fe;
/* rgb */ color: rgb(154, 114, 254);
/* oklch */ color: oklch(65.8% 0.200 293.3);
Tailwind
colors: {
  custom: {
    50: '#bd9cff',
    500: '#9a72fe',
    950: '#000000',
  },
}
SCSS
$custom: #9a72fe;
$custom-light: #bd9cff;
$custom-dark: #000000;
JSON
{
  "hex": "#9a72fe",
  "rgb": {
    "r": 154,
    "g": 114,
    "b": 254
  },
  "hsl": {
    "h": 257.143,
    "s": 98.592,
    "l": 72.157
  },
  "oklch": {
    "l": 0.65813,
    "c": 0.1998,
    "h": 293.3
  },
  "luminance": 0.2606
}

Semantic roles & 50–950 ramp

primary
#9A72FE
secondary
#EDF7D4
accent
#E600A4
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9A72FE

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

Preview Lab → · Contrast checker → · Palette generator →

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