#9F71BB#9F71BB

#9F71BB is a light, moderate violet. Relative luminance 0.228; OKLCH L 62.4% C 0.119 H 311.8°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9F71BB
RGBrgb(159, 113, 187)
HSLhsl(277, 35%, 59%)
HSVhsv(277, 40%, 73%)
CMYKcmyk(15%, 39.6%, 0%, 26.7%)
CIE-LABlab(54.83, 31.95, -32.03)
CIE-LCHlch(54.83, 45.24, 314.93°)
OKLaboklab(62.35% 0.0793 -0.0885)
OKLCHoklch(62.35% 0.119 311.8)
XYZxyz(29.1713, 22.7695, 49.8623)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F71BB #8DBB71
analogous
#7A71BB #9F71BB #BB71B2
triadic
#9F71BB #BB9F71 #71BB9F
tetradic
#9F71BB #BB7A71 #8DBB71 #71B2BB
square
#9F71BB #BB7A71 #8DBB71 #71B2BB
split-complementary
#9F71BB #B2BB71 #71BB7A
monochromatic
#603A78 #824DA1 #9F71BB #BB9ACF #D7C4E3

Accessibility & contrast

On white

3.78
#9F71BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#9F71BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F71BB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F71BB#FFFFFF#000000##000000
##9F71BB1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6381BE
Deuteranopia (green-blind)
#6E84B9
Tritanopia (blue-blind)
#9C7C8D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9f71bb;
/* rgb */ color: rgb(159, 113, 187);
/* oklch */ color: oklch(62.4% 0.119 311.8);
Tailwind
colors: {
  custom: {
    50: '#bc9acf',
    500: '#9f71bb',
    950: '#000000',
  },
}
SCSS
$custom: #9f71bb;
$custom-light: #bc9acf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f71bb",
  "rgb": {
    "r": 159,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 277.297,
    "s": 35.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62351,
    "c": 0.11883,
    "h": 311.8
  },
  "luminance": 0.22769
}

Semantic roles & 50–950 ramp

primary
#9F71BB
secondary
#C0D2B5
accent
#CB5D86
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #9F71BB

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

Preview Lab → · Contrast checker → · Palette generator →

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