#9971BF#9971BF

#9971BF is a mid, vivid violet. Relative luminance 0.223; OKLCH L 61.9% C 0.122 H 306.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9971BF
RGBrgb(153, 113, 191)
HSLhsl(271, 38%, 60%)
HSVhsv(271, 41%, 75%)
CMYKcmyk(19.9%, 40.8%, 0%, 25.1%)
CIE-LABlab(54.39, 31.03, -35.06)
CIE-LCHlch(54.39, 46.82, 311.51°)
OKLaboklab(61.93% 0.0728 -0.0974)
OKLCHoklch(61.93% 0.122 306.8)
XYZxyz(28.4441, 22.3444, 52.0945)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9971BF #97BF71
analogous
#7271BF #9971BF #BF71BE
triadic
#9971BF #BF9971 #71BF99
tetradic
#9971BF #BF7271 #97BF71 #71BEBF
square
#9971BF #BF7271 #97BF71 #71BEBF
split-complementary
#9971BF #BEBF71 #71BF72
monochromatic
#5C387D #7B4BA7 #9971BF #B79BD2 #D6C5E5

Accessibility & contrast

On white

3.84
#9971BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#9971BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9971BF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9971BF#FFFFFF#000000##000000
##9971BF1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F81C2
Deuteranopia (green-blind)
#6982BD
Tritanopia (blue-blind)
#947D8F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9971bf;
/* rgb */ color: rgb(153, 113, 191);
/* oklch */ color: oklch(61.9% 0.122 306.8);
Tailwind
colors: {
  custom: {
    50: '#b89ad2',
    500: '#9971bf',
    950: '#000000',
  },
}
SCSS
$custom: #9971bf;
$custom-light: #b89ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#9971bf",
  "rgb": {
    "r": 153,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 270.769,
    "s": 37.864,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61932,
    "c": 0.12158,
    "h": 306.8
  },
  "luminance": 0.22344
}

Semantic roles & 50–950 ramp

primary
#9971BF
secondary
#C6D5B7
accent
#CE5A92
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #9971BF

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

Preview Lab → · Contrast checker → · Palette generator →

#9971BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva