#9F72EF#9F72EF

#9F72EF is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.3% C 0.182 H 297.8°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9F72EF
RGBrgb(159, 114, 239)
HSLhsl(262, 80%, 69%)
HSVhsv(262, 52%, 94%)
CMYKcmyk(33.5%, 52.3%, 0%, 6.3%)
CIE-LABlab(57.69, 43.77, -56.89)
CIE-LCHlch(57.69, 71.77, 307.57°)
OKLaboklab(65.34% 0.0847 -0.1608)
OKLCHoklch(65.34% 0.182 297.8)
XYZxyz(35.8915, 25.6371, 84.7021)
Luminance0.2564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F72EF #C2EF72
analogous
#7284EF #9F72EF #DE72EF
triadic
#9F72EF #EF9F72 #72EF9F
tetradic
#9F72EF #EF7284 #C2EF72 #72EFDE
square
#9F72EF #EF7284 #C2EF72 #72EFDE
split-complementary
#9F72EF #EFDE72 #84EF72
monochromatic
#5A18CF #7A3BE9 #9F72EF #C4A9F5 #EAE0FB

Accessibility & contrast

On white

3.43
#9F72EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#9F72EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F72EF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F72EF#FFFFFF#000000##000000
##9F72EF1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#418BF3
Deuteranopia (green-blind)
#4E89EC
Tritanopia (blue-blind)
#8D8BA6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9f72ef;
/* rgb */ color: rgb(159, 114, 239);
/* oklch */ color: oklch(65.3% 0.182 297.8);
Tailwind
colors: {
  custom: {
    50: '#bf9cf5',
    500: '#9f72ef',
    950: '#000000',
  },
}
SCSS
$custom: #9f72ef;
$custom-light: #bf9cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f72ef",
  "rgb": {
    "r": 159,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 261.6,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.65344,
    "c": 0.18174,
    "h": 297.8
  },
  "luminance": 0.25638
}

Semantic roles & 50–950 ramp

primary
#9F72EF
secondary
#E3F1CC
accent
#DC0A90
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #9F72EF

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

Preview Lab → · Contrast checker → · Palette generator →

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