#9F72DE#9F72DE

#9F72DE is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.4% C 0.161 H 301.3°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#9F72DE
RGBrgb(159, 114, 222)
HSLhsl(265, 62%, 66%)
HSVhsv(265, 49%, 87%)
CMYKcmyk(28.4%, 48.6%, 0%, 12.9%)
CIE-LABlab(56.76, 39.55, -48.87)
CIE-LCHlch(56.76, 62.87, 308.99°)
OKLaboklab(64.35% 0.0834 -0.1373)
OKLCHoklch(64.35% 0.161 301.3)
XYZxyz(33.4972, 24.6794, 72.0919)
Luminance0.2468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F72DE #B1DE72
analogous
#727BDE #9F72DE #D572DE
triadic
#9F72DE #DE9F72 #72DE9F
tetradic
#9F72DE #DE727B #B1DE72 #72DED5
square
#9F72DE #DE727B #B1DE72 #72DED5
split-complementary
#9F72DE #DED572 #7BDE72
monochromatic
#6029AD #7D40D2 #9F72DE #C1A4EA #E3D5F5

Accessibility & contrast

On white

3.54
#9F72DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#9F72DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F72DE
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F72DE#FFFFFF#000000##000000
##9F72DE1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5088E2
Deuteranopia (green-blind)
#5B88DB
Tritanopia (blue-blind)
#93869E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9f72de;
/* rgb */ color: rgb(159, 114, 222);
/* oklch */ color: oklch(64.4% 0.161 301.3);
Tailwind
colors: {
  custom: {
    50: '#be9be9',
    500: '#9f72de',
    950: '#000000',
  },
}
SCSS
$custom: #9f72de;
$custom-light: #be9be9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f72de",
  "rgb": {
    "r": 159,
    "g": 114,
    "b": 222
  },
  "hsl": {
    "h": 265,
    "s": 62.069,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64352,
    "c": 0.16065,
    "h": 301.3
  },
  "luminance": 0.24679
}

Semantic roles & 50–950 ramp

primary
#9F72DE
secondary
#D9E8C4
accent
#CA1C81
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #9F72DE

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

Preview Lab → · Contrast checker → · Palette generator →

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