#9D72CF#9D72CF

#9D72CF is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.3% C 0.141 H 304.0°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9D72CF
RGBrgb(157, 114, 207)
HSLhsl(268, 49%, 63%)
HSVhsv(268, 45%, 81%)
CMYKcmyk(24.2%, 44.9%, 0%, 18.8%)
CIE-LABlab(55.79, 35.39, -41.95)
CIE-LCHlch(55.79, 54.88, 310.15°)
OKLaboklab(63.33% 0.079 -0.1172)
OKLCHoklch(63.33% 0.141 304)
XYZxyz(31.1820, 23.7078, 61.9527)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D72CF #A4CF72
analogous
#7275CF #9D72CF #CB72CF
triadic
#9D72CF #CF9D72 #72CF9D
tetradic
#9D72CF #CF7275 #A4CF72 #72CFCB
square
#9D72CF #CF7275 #A4CF72 #72CFCB
split-complementary
#9D72CF #CFCB72 #75CF72
monochromatic
#603294 #7D44BF #9D72CF #BDA0DF #DCCDEE

Accessibility & contrast

On white

3.66
#9D72CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#9D72CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D72CF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D72CF#FFFFFF#000000##000000
##9D72CF1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5985D2
Deuteranopia (green-blind)
#6486CD
Tritanopia (blue-blind)
#958297
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9d72cf;
/* rgb */ color: rgb(157, 114, 207);
/* oklch */ color: oklch(63.3% 0.141 304.0);
Tailwind
colors: {
  custom: {
    50: '#bc9bde',
    500: '#9d72cf',
    950: '#000000',
  },
}
SCSS
$custom: #9d72cf;
$custom-light: #bc9bde;
$custom-dark: #000000;
JSON
{
  "hex": "#9d72cf",
  "rgb": {
    "r": 157,
    "g": 114,
    "b": 207
  },
  "hsl": {
    "h": 267.742,
    "s": 49.206,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63332,
    "c": 0.14136,
    "h": 304
  },
  "luminance": 0.23708
}

Semantic roles & 50–950 ramp

primary
#9D72CF
secondary
#D0DFBE
accent
#BD2978
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9D72CF

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

Preview Lab → · Contrast checker → · Palette generator →

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