#9788BF#9788BF

#9788BF is a light, moderate violet. Relative luminance 0.279; OKLCH L 66.0% C 0.082 H 296.6°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9788BF
RGBrgb(151, 136, 191)
HSLhsl(256, 30%, 64%)
HSVhsv(256, 29%, 75%)
CMYKcmyk(20.9%, 28.8%, 0%, 25.1%)
CIE-LABlab(59.84, 17.15, -26.61)
CIE-LCHlch(59.84, 31.65, 302.80°)
OKLaboklab(66.04% 0.0367 -0.0733)
OKLCHoklch(66.04% 0.082 296.6)
XYZxyz(30.9685, 27.9490, 53.0433)
Luminance0.2795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9788BF #B0BF88
analogous
#8895BF #9788BF #B388BF
triadic
#9788BF #BF9788 #88BF97
tetradic
#9788BF #BF8895 #B0BF88 #88BFB3
square
#9788BF #BF8895 #B0BF88 #88BFB3
split-complementary
#9788BF #BFB388 #95BF88
monochromatic
#584885 #7460AA #9788BF #BAB0D4 #DDD8EA

Accessibility & contrast

On white

3.19
#9788BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#9788BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9788BF
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9788BF#FFFFFF#000000##000000
##9788BF1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B90C1
Deuteranopia (green-blind)
#7D90BD
Tritanopia (blue-blind)
#8F919B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9788bf;
/* rgb */ color: rgb(151, 136, 191);
/* oklch */ color: oklch(66.0% 0.082 296.6);
Tailwind
colors: {
  custom: {
    50: '#b6aad2',
    500: '#9788bf',
    950: '#000000',
  },
}
SCSS
$custom: #9788bf;
$custom-light: #b6aad2;
$custom-dark: #000000;
JSON
{
  "hex": "#9788bf",
  "rgb": {
    "r": 151,
    "g": 136,
    "b": 191
  },
  "hsl": {
    "h": 256.364,
    "s": 30.055,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66044,
    "c": 0.08196,
    "h": 296.6
  },
  "luminance": 0.27949
}

Semantic roles & 50–950 ramp

primary
#9788BF
secondary
#D6DBC8
accent
#A93D8B
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111014
muted
#807F82

Preview Lab

Preview with #9788BF

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

Preview Lab → · Contrast checker → · Palette generator →

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