#9C72BA#9C72BA

#9C72BA is a light, moderate violet. Relative luminance 0.226; OKLCH L 62.2% C 0.115 H 310.2°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9C72BA
RGBrgb(156, 114, 186)
HSLhsl(275, 34%, 59%)
HSVhsv(275, 39%, 73%)
CMYKcmyk(16.1%, 38.7%, 0%, 27.1%)
CIE-LABlab(54.71, 30.23, -31.68)
CIE-LCHlch(54.71, 43.79, 313.66°)
OKLaboklab(62.17% 0.0739 -0.0876)
OKLCHoklch(62.17% 0.115 310.2)
XYZxyz(28.5889, 22.6481, 49.3103)
Luminance0.2265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C72BA #90BA72
analogous
#7872BA #9C72BA #BA72B4
triadic
#9C72BA #BA9C72 #72BA9C
tetradic
#9C72BA #BA7872 #90BA72 #72B4BA
square
#9C72BA #BA7872 #90BA72 #72B4BA
split-complementary
#9C72BA #B4BA72 #72BA78
monochromatic
#5E3A77 #7E4EA0 #9C72BA #B99BCE #D6C4E2

Accessibility & contrast

On white

3.80
#9C72BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#9C72BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C72BA
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C72BA#FFFFFF#000000##000000
##9C72BA1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6481BD
Deuteranopia (green-blind)
#6E84B8
Tritanopia (blue-blind)
#997C8D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9c72ba;
/* rgb */ color: rgb(156, 114, 186);
/* oklch */ color: oklch(62.2% 0.115 310.2);
Tailwind
colors: {
  custom: {
    50: '#ba9bcf',
    500: '#9c72ba',
    950: '#000000',
  },
}
SCSS
$custom: #9c72ba;
$custom-light: #ba9bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c72ba",
  "rgb": {
    "r": 156,
    "g": 114,
    "b": 186
  },
  "hsl": {
    "h": 275,
    "s": 34.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62169,
    "c": 0.11461,
    "h": 310.2
  },
  "luminance": 0.22648
}

Semantic roles & 50–950 ramp

primary
#9C72BA
secondary
#C2D2B6
accent
#CA5D8B
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#120E13
muted
#817E82

Preview Lab

Preview with #9C72BA

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

Preview Lab → · Contrast checker → · Palette generator →

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