#9C71BD#9C71BD

#9C71BD is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.1% C 0.120 H 309.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9C71BD
RGBrgb(156, 113, 189)
HSLhsl(274, 37%, 59%)
HSVhsv(274, 40%, 74%)
CMYKcmyk(17.5%, 40.2%, 0%, 25.9%)
CIE-LABlab(54.61, 31.48, -33.55)
CIE-LCHlch(54.61, 46.01, 313.17°)
OKLaboklab(62.14% 0.0761 -0.093)
OKLCHoklch(62.14% 0.12 309.3)
XYZxyz(28.7990, 22.5527, 50.9702)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C71BD #92BD71
analogous
#7671BD #9C71BD #BD71B8
triadic
#9C71BD #BD9C71 #71BD9C
tetradic
#9C71BD #BD7671 #92BD71 #71B8BD
square
#9C71BD #BD7671 #92BD71 #71B8BD
split-complementary
#9C71BD #B8BD71 #71BD76
monochromatic
#5E397B #7E4CA4 #9C71BD #B99BD0 #D6C5E4

Accessibility & contrast

On white

3.81
#9C71BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#9C71BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C71BD
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C71BD#FFFFFF#000000##000000
##9C71BD1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6181C0
Deuteranopia (green-blind)
#6B83BB
Tritanopia (blue-blind)
#987C8E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9c71bd;
/* rgb */ color: rgb(156, 113, 189);
/* oklch */ color: oklch(62.1% 0.120 309.3);
Tailwind
colors: {
  custom: {
    50: '#ba9ad1',
    500: '#9c71bd',
    950: '#000000',
  },
}
SCSS
$custom: #9c71bd;
$custom-light: #ba9ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c71bd",
  "rgb": {
    "r": 156,
    "g": 113,
    "b": 189
  },
  "hsl": {
    "h": 273.947,
    "s": 36.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62138,
    "c": 0.1201,
    "h": 309.3
  },
  "luminance": 0.22552
}

Semantic roles & 50–950 ramp

primary
#9C71BD
secondary
#C3D4B6
accent
#CD5B8C
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #9C71BD

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

Preview Lab → · Contrast checker → · Palette generator →

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