#9D72F5#9D72F5

#9D72F5 is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.5% C 0.189 H 295.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9D72F5
RGBrgb(157, 114, 245)
HSLhsl(260, 87%, 70%)
HSVhsv(260, 53%, 96%)
CMYKcmyk(35.9%, 53.5%, 0%, 3.9%)
CIE-LABlab(57.84, 44.81, -59.99)
CIE-LCHlch(57.84, 74.88, 306.76°)
OKLaboklab(65.52% 0.0825 -0.1699)
OKLCHoklch(65.52% 0.189 295.9)
XYZxyz(36.3992, 25.7947, 89.4296)
Luminance0.2580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D72F5 #CAF572
analogous
#7288F5 #9D72F5 #DF72F5
triadic
#9D72F5 #F59D72 #72F59D
tetradic
#9D72F5 #F57288 #CAF572 #72F5DF
square
#9D72F5 #F57288 #CAF572 #72F5DF
split-complementary
#9D72F5 #F5DF72 #88F572
monochromatic
#5310DD #7539F1 #9D72F5 #C5ABF9 #EBE2FD

Accessibility & contrast

On white

3.41
#9D72F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#9D72F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D72F5
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D72F5#FFFFFF#000000##000000
##9D72F51.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#398CF9
Deuteranopia (green-blind)
#4689F2
Tritanopia (blue-blind)
#888DA9
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9d72f5;
/* rgb */ color: rgb(157, 114, 245);
/* oklch */ color: oklch(65.5% 0.189 295.9);
Tailwind
colors: {
  custom: {
    50: '#be9cf9',
    500: '#9d72f5',
    950: '#000000',
  },
}
SCSS
$custom: #9d72f5;
$custom-light: #be9cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d72f5",
  "rgb": {
    "r": 157,
    "g": 114,
    "b": 245
  },
  "hsl": {
    "h": 259.695,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.65521,
    "c": 0.18892,
    "h": 295.9
  },
  "luminance": 0.25795
}

Semantic roles & 50–950 ramp

primary
#9D72F5
secondary
#E8F3CF
accent
#E30299
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9D72F5

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

Preview Lab → · Contrast checker → · Palette generator →

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