#9A72FD#9A72FD

#9A72FD is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.7% C 0.199 H 293.5°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9A72FD
RGBrgb(154, 114, 253)
HSLhsl(257, 97%, 72%)
HSVhsv(257, 55%, 99%)
CMYKcmyk(39.1%, 54.9%, 0%, 0.8%)
CIE-LABlab(58.03, 46.20, -64.12)
CIE-LCHlch(58.03, 79.03, 305.77°)
OKLaboklab(65.75% 0.079 -0.1822)
OKLCHoklch(65.75% 0.199 293.5)
XYZxyz(37.0686, 25.9956, 95.9741)
Luminance0.2600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A72FD #D5FD72
analogous
#7290FD #9A72FD #DF72FD
triadic
#9A72FD #FD9A72 #72FD9A
tetradic
#9A72FD #FD7290 #D5FD72 #72FDDF
square
#9A72FD #FD7290 #D5FD72 #72FDDF
split-complementary
#9A72FD #FDDF72 #90FD72
monochromatic
#4803F1 #6F36FC #9A72FD #C5AEFE #E9E1FF

Accessibility & contrast

On white

3.39
#9A72FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#9A72FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A72FD
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A72FD#FFFFFF#000000##000000
##9A72FD1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8DFF
Deuteranopia (green-blind)
#3889FA
Tritanopia (blue-blind)
#808FAD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9a72fd;
/* rgb */ color: rgb(154, 114, 253);
/* oklch */ color: oklch(65.7% 0.199 293.5);
Tailwind
colors: {
  custom: {
    50: '#bd9cff',
    500: '#9a72fd',
    950: '#000000',
  },
}
SCSS
$custom: #9a72fd;
$custom-light: #bd9cff;
$custom-dark: #000000;
JSON
{
  "hex": "#9a72fd",
  "rgb": {
    "r": 154,
    "g": 114,
    "b": 253
  },
  "hsl": {
    "h": 257.266,
    "s": 97.203,
    "l": 71.961
  },
  "oklch": {
    "l": 0.65748,
    "c": 0.19857,
    "h": 293.5
  },
  "luminance": 0.25997
}

Semantic roles & 50–950 ramp

primary
#9A72FD
secondary
#EDF7D4
accent
#E600A3
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9A72FD

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

Preview Lab → · Contrast checker → · Palette generator →

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