#9D72C8#9D72C8

#9D72C8 is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.0% C 0.133 H 306.0°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#9D72C8
RGBrgb(157, 114, 200)
HSLhsl(270, 44%, 62%)
HSVhsv(270, 43%, 78%)
CMYKcmyk(21.5%, 43%, 0%, 21.6%)
CIE-LABlab(55.45, 33.74, -38.50)
CIE-LCHlch(55.45, 51.19, 311.23°)
OKLaboklab(62.97% 0.0779 -0.1072)
OKLCHoklch(62.97% 0.133 306)
XYZxyz(30.3452, 23.3731, 57.5452)
Luminance0.2337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D72C8 #9DC872
analogous
#7272C8 #9D72C8 #C872C8
triadic
#9D72C8 #C89D72 #72C89D
tetradic
#9D72C8 #C87272 #9DC872 #72C8C8
square
#9D72C8 #C87272 #9DC872 #72C8C8
split-complementary
#9D72C8 #C8C872 #72C872
monochromatic
#60368A #7E47B6 #9D72C8 #BC9ED9 #DACAEA

Accessibility & contrast

On white

3.70
#9D72C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#9D72C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D72C8
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D72C8#FFFFFF#000000##000000
##9D72C81.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D83CB
Deuteranopia (green-blind)
#6785C6
Tritanopia (blue-blind)
#968093
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9d72c8;
/* rgb */ color: rgb(157, 114, 200);
/* oklch */ color: oklch(63.0% 0.133 306.0);
Tailwind
colors: {
  custom: {
    50: '#bb9bd9',
    500: '#9d72c8',
    950: '#000000',
  },
}
SCSS
$custom: #9d72c8;
$custom-light: #bb9bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d72c8",
  "rgb": {
    "r": 157,
    "g": 114,
    "b": 200
  },
  "hsl": {
    "h": 270,
    "s": 43.878,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62966,
    "c": 0.13254,
    "h": 306
  },
  "luminance": 0.23373
}

Semantic roles & 50–950 ramp

primary
#9D72C8
secondary
#CBDBBB
accent
#B72E73
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120E14
muted
#817E83

Preview Lab

Preview with #9D72C8

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

Preview Lab → · Contrast checker → · Palette generator →

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