#9788D1#9788D1

#9788D1 is a light, moderate violet. Relative luminance 0.288; OKLCH L 66.9% C 0.107 H 292.7°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9788D1
RGBrgb(151, 136, 209)
HSLhsl(252, 44%, 68%)
HSVhsv(252, 35%, 82%)
CMYKcmyk(27.8%, 34.9%, 0%, 18%)
CIE-LABlab(60.60, 21.52, -35.58)
CIE-LCHlch(60.60, 41.58, 301.17°)
OKLaboklab(66.87% 0.0414 -0.099)
OKLCHoklch(66.87% 0.107 292.7)
XYZxyz(33.0725, 28.7906, 64.1239)
Luminance0.2879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9788D1 #C2D188
analogous
#889DD1 #9788D1 #BC88D1
triadic
#9788D1 #D19788 #88D197
tetradic
#9788D1 #D1889D #C2D188 #88D1BC
square
#9788D1 #D1889D #C2D188 #88D1BC
split-complementary
#9788D1 #D1BC88 #9DD188
monochromatic
#523EA1 #705CC0 #9788D1 #BEB4E2 #E4E0F3

Accessibility & contrast

On white

3.11
#9788D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#9788D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9788D1
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9788D1#FFFFFF#000000##000000
##9788D11.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7493D4
Deuteranopia (green-blind)
#7691CF
Tritanopia (blue-blind)
#8A95A3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9788d1;
/* rgb */ color: rgb(151, 136, 209);
/* oklch */ color: oklch(66.9% 0.107 292.7);
Tailwind
colors: {
  custom: {
    50: '#b7aadf',
    500: '#9788d1',
    950: '#000000',
  },
}
SCSS
$custom: #9788d1;
$custom-light: #b7aadf;
$custom-dark: #000000;
JSON
{
  "hex": "#9788d1",
  "rgb": {
    "r": 151,
    "g": 136,
    "b": 209
  },
  "hsl": {
    "h": 252.329,
    "s": 44.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6687,
    "c": 0.10729,
    "h": 292.7
  },
  "luminance": 0.28791
}

Semantic roles & 50–950 ramp

primary
#9788D1
secondary
#E1E6CF
accent
#B72E9B
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #9788D1

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

Preview Lab → · Contrast checker → · Palette generator →

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