#9788CD#9788CD

#9788CD is a light, moderate violet. Relative luminance 0.286; OKLCH L 66.7% C 0.102 H 293.4°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9788CD
RGBrgb(151, 136, 205)
HSLhsl(253, 41%, 67%)
HSVhsv(253, 34%, 80%)
CMYKcmyk(26.3%, 33.7%, 0%, 19.6%)
CIE-LABlab(60.42, 20.53, -33.60)
CIE-LCHlch(60.42, 39.38, 301.42°)
OKLaboklab(66.68% 0.0404 -0.0933)
OKLCHoklch(66.68% 0.102 293.4)
XYZxyz(32.5834, 28.5950, 61.5485)
Luminance0.2859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9788CD #BECD88
analogous
#889CCD #9788CD #B988CD
triadic
#9788CD #CD9788 #88CD97
tetradic
#9788CD #CD889C #BECD88 #88CDB9
square
#9788CD #CD889C #BECD88 #88CDB9
split-complementary
#9788CD #CDB988 #9CCD88
monochromatic
#54419A #715DBB #9788CD #BDB3DF #E2DEF1

Accessibility & contrast

On white

3.13
#9788CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#9788CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9788CD
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9788CD#FFFFFF#000000##000000
##9788CD1.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7692D0
Deuteranopia (green-blind)
#7891CB
Tritanopia (blue-blind)
#8C94A1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9788cd;
/* rgb */ color: rgb(151, 136, 205);
/* oklch */ color: oklch(66.7% 0.102 293.4);
Tailwind
colors: {
  custom: {
    50: '#b7aadc',
    500: '#9788cd',
    950: '#000000',
  },
}
SCSS
$custom: #9788cd;
$custom-light: #b7aadc;
$custom-dark: #000000;
JSON
{
  "hex": "#9788cd",
  "rgb": {
    "r": 151,
    "g": 136,
    "b": 205
  },
  "hsl": {
    "h": 253.043,
    "s": 40.828,
    "l": 66.863
  },
  "oklch": {
    "l": 0.6668,
    "c": 0.10168,
    "h": 293.4
  },
  "luminance": 0.28595
}

Semantic roles & 50–950 ramp

primary
#9788CD
secondary
#DFE3CD
accent
#B43298
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #9788CD

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

Preview Lab → · Contrast checker → · Palette generator →

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