#9D72F8#9D72F8

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

Color values

HEX#9D72F8
RGBrgb(157, 114, 248)
HSLhsl(259, 91%, 71%)
HSVhsv(259, 54%, 97%)
CMYKcmyk(36.7%, 54%, 0%, 2.7%)
CIE-LABlab(58.02, 45.58, -61.37)
CIE-LCHlch(58.02, 76.44, 306.61°)
OKLaboklab(65.71% 0.0826 -0.174)
OKLCHoklch(65.71% 0.193 295.4)
XYZxyz(36.8609, 25.9793, 91.8612)
Luminance0.2598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D72F8 #CDF872
analogous
#728AF8 #9D72F8 #E072F8
triadic
#9D72F8 #F89D72 #72F89D
tetradic
#9D72F8 #F8728A #CDF872 #72F8E0
square
#9D72F8 #F8728A #CDF872 #72F8E0
split-complementary
#9D72F8 #F8E072 #8AF872
monochromatic
#510BE4 #7438F5 #9D72F8 #C6ACFB #EBE2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D72F8#FFFFFF#000000##000000
##9D72F81.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)
#358CFD
Deuteranopia (green-blind)
#4289F5
Tritanopia (blue-blind)
#878EAA
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9d72f8;
/* rgb */ color: rgb(157, 114, 248);
/* oklch */ color: oklch(65.7% 0.193 295.4);
Tailwind
colors: {
  custom: {
    50: '#be9cfb',
    500: '#9d72f8',
    950: '#000000',
  },
}
SCSS
$custom: #9d72f8;
$custom-light: #be9cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d72f8",
  "rgb": {
    "r": 157,
    "g": 114,
    "b": 248
  },
  "hsl": {
    "h": 259.254,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.65708,
    "c": 0.19261,
    "h": 295.4
  },
  "luminance": 0.2598
}

Semantic roles & 50–950 ramp

primary
#9D72F8
secondary
#E9F5D1
accent
#E6009C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9D72F8

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

Preview Lab → · Contrast checker → · Palette generator →

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