#9788CA#9788CA

#9788CA is a light, moderate violet. Relative luminance 0.285; OKLCH L 66.5% C 0.097 H 294.0°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9788CA
RGBrgb(151, 136, 202)
HSLhsl(254, 38%, 66%)
HSVhsv(254, 33%, 79%)
CMYKcmyk(25.2%, 32.7%, 0%, 20.8%)
CIE-LABlab(60.29, 19.79, -32.12)
CIE-LCHlch(60.29, 37.72, 301.65°)
OKLaboklab(66.54% 0.0397 -0.089)
OKLCHoklch(66.54% 0.097 294)
XYZxyz(32.2248, 28.4515, 59.6596)
Luminance0.2845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9788CA #BBCA88
analogous
#889ACA #9788CA #B888CA
triadic
#9788CA #CA9788 #88CA97
tetradic
#9788CA #CA889A #BBCA88 #88CAB8
square
#9788CA #CA889A #BBCA88 #88CAB8
split-complementary
#9788CA #CAB888 #9ACA88
monochromatic
#554295 #725EB7 #9788CA #BCB2DD #E1DDF0

Accessibility & contrast

On white

3.14
#9788CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#9788CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9788CA
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9788CA#FFFFFF#000000##000000
##9788CA1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7792CD
Deuteranopia (green-blind)
#7990C8
Tritanopia (blue-blind)
#8C93A0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9788ca;
/* rgb */ color: rgb(151, 136, 202);
/* oklch */ color: oklch(66.5% 0.097 294.0);
Tailwind
colors: {
  custom: {
    50: '#b7aada',
    500: '#9788ca',
    950: '#000000',
  },
}
SCSS
$custom: #9788ca;
$custom-light: #b7aada;
$custom-dark: #000000;
JSON
{
  "hex": "#9788ca",
  "rgb": {
    "r": 151,
    "g": 136,
    "b": 202
  },
  "hsl": {
    "h": 253.636,
    "s": 38.372,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6654,
    "c": 0.09746,
    "h": 294
  },
  "luminance": 0.28452
}

Semantic roles & 50–950 ramp

primary
#9788CA
secondary
#DDE2CC
accent
#B13495
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111015
muted
#807F83

Preview Lab

Preview with #9788CA

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

Preview Lab → · Contrast checker → · Palette generator →

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