#9D71BB#9D71BB

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

Color values

HEX#9D71BB
RGBrgb(157, 113, 187)
HSLhsl(276, 35%, 59%)
HSVhsv(276, 40%, 73%)
CMYKcmyk(16%, 39.6%, 0%, 26.7%)
CIE-LABlab(54.62, 31.34, -32.38)
CIE-LCHlch(54.62, 45.06, 314.06°)
OKLaboklab(62.14% 0.0769 -0.0895)
OKLCHoklch(62.14% 0.118 310.6)
XYZxyz(28.7778, 22.5666, 49.8439)
Luminance0.2257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D71BB #8FBB71
analogous
#7871BB #9D71BB #BB71B4
triadic
#9D71BB #BB9D71 #71BB9D
tetradic
#9D71BB #BB7871 #8FBB71 #71B4BB
square
#9D71BB #BB7871 #8FBB71 #71B4BB
split-complementary
#9D71BB #B4BB71 #71BB78
monochromatic
#5F3A78 #7F4DA1 #9D71BB #BA9ACF #D6C4E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D71BB#FFFFFF#000000##000000
##9D71BB1.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)
#6281BE
Deuteranopia (green-blind)
#6D84B9
Tritanopia (blue-blind)
#9A7C8D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9d71bb;
/* rgb */ color: rgb(157, 113, 187);
/* oklch */ color: oklch(62.1% 0.118 310.6);
Tailwind
colors: {
  custom: {
    50: '#bb9acf',
    500: '#9d71bb',
    950: '#000000',
  },
}
SCSS
$custom: #9d71bb;
$custom-light: #bb9acf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d71bb",
  "rgb": {
    "r": 157,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 275.676,
    "s": 35.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62143,
    "c": 0.118,
    "h": 310.6
  },
  "luminance": 0.22566
}

Semantic roles & 50–950 ramp

primary
#9D71BB
secondary
#C1D2B5
accent
#CB5D89
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #9D71BB

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

Preview Lab → · Contrast checker → · Palette generator →

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