#9788BB#9788BB

#9788BB is a light, moderate violet. Relative luminance 0.278; OKLCH L 65.9% C 0.076 H 297.8°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9788BB
RGBrgb(151, 136, 187)
HSLhsl(258, 27%, 63%)
HSVhsv(258, 27%, 73%)
CMYKcmyk(19.3%, 27.3%, 0%, 26.7%)
CIE-LABlab(59.69, 16.21, -24.58)
CIE-LCHlch(59.69, 29.45, 303.40°)
OKLaboklab(65.87% 0.0356 -0.0675)
OKLCHoklch(65.87% 0.076 297.8)
XYZxyz(30.5343, 27.7753, 50.7566)
Luminance0.2777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9788BB #ACBB88
analogous
#8892BB #9788BB #B088BB
triadic
#9788BB #BB9788 #88BB97
tetradic
#9788BB #BB8892 #ACBB88 #88BBB0
square
#9788BB #BB8892 #ACBB88 #88BBB0
split-complementary
#9788BB #BBB088 #92BB88
monochromatic
#594980 #7561A5 #9788BB #B9AFD1 #DBD6E8

Accessibility & contrast

On white

3.20
#9788BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#9788BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9788BB
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9788BB#FFFFFF#000000##000000
##9788BB1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D90BD
Deuteranopia (green-blind)
#7F8FBA
Tritanopia (blue-blind)
#90909A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9788bb;
/* rgb */ color: rgb(151, 136, 187);
/* oklch */ color: oklch(65.9% 0.076 297.8);
Tailwind
colors: {
  custom: {
    50: '#b6aacf',
    500: '#9788bb',
    950: '#000000',
  },
}
SCSS
$custom: #9788bb;
$custom-light: #b6aacf;
$custom-dark: #000000;
JSON
{
  "hex": "#9788bb",
  "rgb": {
    "r": 151,
    "g": 136,
    "b": 187
  },
  "hsl": {
    "h": 257.647,
    "s": 27.273,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65871,
    "c": 0.07632,
    "h": 297.8
  },
  "luminance": 0.27775
}

Semantic roles & 50–950 ramp

primary
#9788BB
secondary
#D3D8C6
accent
#A64088
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111014
muted
#807F82

Preview Lab

Preview with #9788BB

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

Preview Lab → · Contrast checker → · Palette generator →

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