#9772BF#9772BF

#9772BF is a mid, moderate violet. Relative luminance 0.224; OKLCH L 61.9% C 0.119 H 305.3°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9772BF
RGBrgb(151, 114, 191)
HSLhsl(269, 38%, 60%)
HSVhsv(269, 40%, 75%)
CMYKcmyk(20.9%, 40.3%, 0%, 25.1%)
CIE-LABlab(54.42, 29.86, -35.03)
CIE-LCHlch(54.42, 46.03, 310.45°)
OKLaboklab(61.91% 0.0689 -0.0973)
OKLCHoklch(61.91% 0.119 305.3)
XYZxyz(28.1819, 22.3757, 52.1144)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9772BF #9ABF72
analogous
#7274BF #9772BF #BD72BF
triadic
#9772BF #BF9772 #72BF97
tetradic
#9772BF #BF7274 #9ABF72 #72BFBD
square
#9772BF #BF7274 #9ABF72 #72BFBD
split-complementary
#9772BF #BFBD72 #74BF72
monochromatic
#5A397E #784CA8 #9772BF #B69CD2 #D5C6E5

Accessibility & contrast

On white

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

On black

5.48
#9772BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9772BF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9772BF#FFFFFF#000000##000000
##9772BF1.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6081C2
Deuteranopia (green-blind)
#6882BD
Tritanopia (blue-blind)
#917E8F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9772bf;
/* rgb */ color: rgb(151, 114, 191);
/* oklch */ color: oklch(61.9% 0.119 305.3);
Tailwind
colors: {
  custom: {
    50: '#b79bd2',
    500: '#9772bf',
    950: '#000000',
  },
}
SCSS
$custom: #9772bf;
$custom-light: #b79bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9772bf",
  "rgb": {
    "r": 151,
    "g": 114,
    "b": 191
  },
  "hsl": {
    "h": 268.831,
    "s": 37.561,
    "l": 59.804
  },
  "oklch": {
    "l": 0.6191,
    "c": 0.11924,
    "h": 305.3
  },
  "luminance": 0.22376
}

Semantic roles & 50–950 ramp

primary
#9772BF
secondary
#C7D5B8
accent
#CE5A96
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #9772BF

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

Preview Lab → · Contrast checker → · Palette generator →

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