#9788CF#9788CF

#9788CF is a light, moderate violet. Relative luminance 0.287; OKLCH L 66.8% C 0.104 H 293.1°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9788CF
RGBrgb(151, 136, 207)
HSLhsl(253, 43%, 67%)
HSVhsv(253, 34%, 81%)
CMYKcmyk(27.1%, 34.3%, 0%, 18.8%)
CIE-LABlab(60.51, 21.02, -34.59)
CIE-LCHlch(60.51, 40.48, 301.29°)
OKLaboklab(66.77% 0.0409 -0.0961)
OKLCHoklch(66.77% 0.104 293.1)
XYZxyz(32.8264, 28.6921, 62.8281)
Luminance0.2869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9788CF #C0CF88
analogous
#889DCF #9788CF #BB88CF
triadic
#9788CF #CF9788 #88CF97
tetradic
#9788CF #CF889D #C0CF88 #88CFBB
square
#9788CF #CF889D #C0CF88 #88CFBB
split-complementary
#9788CF #CFBB88 #9DCF88
monochromatic
#533F9D #715CBD #9788CF #BDB4E1 #E3DFF2

Accessibility & contrast

On white

3.12
#9788CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#9788CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9788CF
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9788CF#FFFFFF#000000##000000
##9788CF1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7593D2
Deuteranopia (green-blind)
#7791CD
Tritanopia (blue-blind)
#8B94A2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9788cf;
/* rgb */ color: rgb(151, 136, 207);
/* oklch */ color: oklch(66.8% 0.104 293.1);
Tailwind
colors: {
  custom: {
    50: '#b7aade',
    500: '#9788cf',
    950: '#000000',
  },
}
SCSS
$custom: #9788cf;
$custom-light: #b7aade;
$custom-dark: #000000;
JSON
{
  "hex": "#9788cf",
  "rgb": {
    "r": 151,
    "g": 136,
    "b": 207
  },
  "hsl": {
    "h": 252.676,
    "s": 42.515,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66775,
    "c": 0.10448,
    "h": 293.1
  },
  "luminance": 0.28693
}

Semantic roles & 50–950 ramp

primary
#9788CF
secondary
#E0E5CE
accent
#B63099
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #9788CF

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

Preview Lab → · Contrast checker → · Palette generator →

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