#9770BB#9770BB

#9770BB is a mid, moderate violet. Relative luminance 0.218; OKLCH L 61.4% C 0.118 H 307.2°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9770BB
RGBrgb(151, 112, 187)
HSLhsl(271, 36%, 59%)
HSVhsv(271, 40%, 73%)
CMYKcmyk(19.3%, 40.1%, 0%, 26.7%)
CIE-LABlab(53.77, 30.08, -33.76)
CIE-LCHlch(53.77, 45.22, 311.70°)
OKLaboklab(61.35% 0.071 -0.0936)
OKLCHoklch(61.35% 0.118 307.2)
XYZxyz(27.5246, 21.7557, 49.7533)
Luminance0.2176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9770BB #94BB70
analogous
#7170BB #9770BB #BB70B9
triadic
#9770BB #BB9770 #70BB97
tetradic
#9770BB #BB7170 #94BB70 #70B9BB
square
#9770BB #BB7170 #94BB70 #70B9BB
split-complementary
#9770BB #B9BB70 #70BB71
monochromatic
#5A3978 #794DA1 #9770BB #B599CF #D3C3E2

Accessibility & contrast

On white

3.92
#9770BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#9770BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9770BB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9770BB#FFFFFF#000000##000000
##9770BB1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#607FBE
Deuteranopia (green-blind)
#6881B9
Tritanopia (blue-blind)
#927C8D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9770bb;
/* rgb */ color: rgb(151, 112, 187);
/* oklch */ color: oklch(61.4% 0.118 307.2);
Tailwind
colors: {
  custom: {
    50: '#b799cf',
    500: '#9770bb',
    950: '#000000',
  },
}
SCSS
$custom: #9770bb;
$custom-light: #b799cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9770bb",
  "rgb": {
    "r": 151,
    "g": 112,
    "b": 187
  },
  "hsl": {
    "h": 271.2,
    "s": 35.545,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61354,
    "c": 0.11754,
    "h": 307.2
  },
  "luminance": 0.21756
}

Semantic roles & 50–950 ramp

primary
#9770BB
secondary
#C3D2B5
accent
#CC5C92
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #9770BB

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

Preview Lab → · Contrast checker → · Palette generator →

#9770BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva