#9F72FC#9F72FC

#9F72FC is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.1% C 0.198 H 295.5°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#9F72FC
RGBrgb(159, 114, 252)
HSLhsl(260, 96%, 72%)
HSVhsv(260, 55%, 99%)
CMYKcmyk(36.9%, 54.8%, 0%, 1.2%)
CIE-LABlab(58.45, 47.07, -62.88)
CIE-LCHlch(58.45, 78.55, 306.82°)
OKLaboklab(66.15% 0.0852 -0.1784)
OKLCHoklch(66.15% 0.198 295.5)
XYZxyz(37.8815, 26.4331, 95.1829)
Luminance0.2643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F72FC #CFFC72
analogous
#728AFC #9F72FC #E472FC
triadic
#9F72FC #FC9F72 #72FC9F
tetradic
#9F72FC #FC728A #CFFC72 #72FCE4
square
#9F72FC #FC728A #CFFC72 #72FCE4
split-complementary
#9F72FC #FCE472 #8AFC72
monochromatic
#5105EF #7636FB #9F72FC #C8AEFD #EBE1FE

Accessibility & contrast

On white

3.34
#9F72FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#9F72FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F72FC
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F72FC#FFFFFF#000000##000000
##9F72FC1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#318EFF
Deuteranopia (green-blind)
#3F8BF9
Tritanopia (blue-blind)
#898FAC
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9f72fc;
/* rgb */ color: rgb(159, 114, 252);
/* oklch */ color: oklch(66.1% 0.198 295.5);
Tailwind
colors: {
  custom: {
    50: '#c09cfe',
    500: '#9f72fc',
    950: '#000000',
  },
}
SCSS
$custom: #9f72fc;
$custom-light: #c09cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#9f72fc",
  "rgb": {
    "r": 159,
    "g": 114,
    "b": 252
  },
  "hsl": {
    "h": 259.565,
    "s": 95.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66145,
    "c": 0.19769,
    "h": 295.5
  },
  "luminance": 0.26434
}

Semantic roles & 50–950 ramp

primary
#9F72FC
secondary
#EBF6D3
accent
#E6009B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9F72FC

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

Preview Lab → · Contrast checker → · Palette generator →

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