#9F72FE#9F72FE

#9F72FE is a light, highly saturated violet. Relative luminance 0.266; OKLCH L 66.3% C 0.200 H 295.2°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9F72FE
RGBrgb(159, 114, 254)
HSLhsl(259, 99%, 72%)
HSVhsv(259, 55%, 100%)
CMYKcmyk(37.4%, 55.1%, 0%, 0.4%)
CIE-LABlab(58.57, 47.59, -63.79)
CIE-LCHlch(58.57, 79.58, 306.72°)
OKLaboklab(66.27% 0.0853 -0.181)
OKLCHoklch(66.27% 0.2 295.2)
XYZxyz(38.2001, 26.5606, 96.8608)
Luminance0.2656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F72FE #D1FE72
analogous
#728BFE #9F72FE #E572FE
triadic
#9F72FE #FE9F72 #72FE9F
tetradic
#9F72FE #FE728B #D1FE72 #72FEE5
square
#9F72FE #FE728B #D1FE72 #72FEE5
split-complementary
#9F72FE #FEE572 #8BFE72
monochromatic
#5002F4 #7635FE #9F72FE #C8AFFE #EAE1FF

Accessibility & contrast

On white

3.33
#9F72FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#9F72FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F72FE
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F72FE#FFFFFF#000000##000000
##9F72FE1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8EFF
Deuteranopia (green-blind)
#3D8BFB
Tritanopia (blue-blind)
#888FAD
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9f72fe;
/* rgb */ color: rgb(159, 114, 254);
/* oklch */ color: oklch(66.3% 0.200 295.2);
Tailwind
colors: {
  custom: {
    50: '#c09cff',
    500: '#9f72fe',
    950: '#000000',
  },
}
SCSS
$custom: #9f72fe;
$custom-light: #c09cff;
$custom-dark: #000000;
JSON
{
  "hex": "#9f72fe",
  "rgb": {
    "r": 159,
    "g": 114,
    "b": 254
  },
  "hsl": {
    "h": 259.286,
    "s": 98.592,
    "l": 72.157
  },
  "oklch": {
    "l": 0.66272,
    "c": 0.20012,
    "h": 295.2
  },
  "luminance": 0.26561
}

Semantic roles & 50–950 ramp

primary
#9F72FE
secondary
#ECF7D4
accent
#E6009C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9F72FE

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

Preview Lab → · Contrast checker → · Palette generator →

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