#9788BC#9788BC

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

Color values

HEX#9788BC
RGBrgb(151, 136, 188)
HSLhsl(257, 28%, 64%)
HSVhsv(257, 28%, 74%)
CMYKcmyk(19.7%, 27.7%, 0%, 26.3%)
CIE-LABlab(59.72, 16.45, -25.09)
CIE-LCHlch(59.72, 30.00, 303.24°)
OKLaboklab(65.91% 0.0359 -0.069)
OKLCHoklch(65.91% 0.078 297.5)
XYZxyz(30.6418, 27.8183, 51.3224)
Luminance0.2782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9788BC #ADBC88
analogous
#8893BC #9788BC #B188BC
triadic
#9788BC #BC9788 #88BC97
tetradic
#9788BC #BC8893 #ADBC88 #88BCB1
square
#9788BC #BC8893 #ADBC88 #88BCB1
split-complementary
#9788BC #BCB188 #93BC88
monochromatic
#594981 #7561A6 #9788BC #B9AFD2 #DBD6E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9788BC#FFFFFF#000000##000000
##9788BC1.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)
#7C90BE
Deuteranopia (green-blind)
#7F8FBB
Tritanopia (blue-blind)
#90909A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9788bc;
/* rgb */ color: rgb(151, 136, 188);
/* oklch */ color: oklch(65.9% 0.078 297.5);
Tailwind
colors: {
  custom: {
    50: '#b6aad0',
    500: '#9788bc',
    950: '#000000',
  },
}
SCSS
$custom: #9788bc;
$custom-light: #b6aad0;
$custom-dark: #000000;
JSON
{
  "hex": "#9788bc",
  "rgb": {
    "r": 151,
    "g": 136,
    "b": 188
  },
  "hsl": {
    "h": 257.308,
    "s": 27.957,
    "l": 63.529
  },
  "oklch": {
    "l": 0.65913,
    "c": 0.07773,
    "h": 297.5
  },
  "luminance": 0.27818
}

Semantic roles & 50–950 ramp

primary
#9788BC
secondary
#D4D9C7
accent
#A73F89
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111014
muted
#807F82

Preview Lab

Preview with #9788BC

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

Preview Lab → · Contrast checker → · Palette generator →

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