#9788FD#9788FD

#9788FD is a light, vivid blue. Relative luminance 0.313; OKLCH L 69.2% C 0.167 H 287.1°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#9788FD
RGBrgb(151, 136, 253)
HSLhsl(248, 97%, 76%)
HSVhsv(248, 46%, 99%)
CMYKcmyk(40.3%, 46.2%, 0%, 0.8%)
CIE-LABlab(62.74, 33.06, -56.60)
CIE-LCHlch(62.74, 65.55, 300.29°)
OKLaboklab(69.2% 0.0491 -0.1601)
OKLCHoklch(69.2% 0.167 287.1)
XYZxyz(39.2913, 31.2781, 96.8765)
Luminance0.3128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9788FD #EEFD88
analogous
#88B4FD #9788FD #D288FD
triadic
#9788FD #FD9788 #88FD97
tetradic
#9788FD #FD88B4 #EEFD88 #88FDD2
square
#9788FD #FD88B4 #EEFD88 #88FDD2
split-complementary
#9788FD #FDD288 #B4FD88
monochromatic
#2E10FB #624CFC #9788FD #CCC4FE #E5E1FE

Accessibility & contrast

On white

2.89
#9788FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#9788FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9788FD
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9788FD#FFFFFF#000000##000000
##9788FD1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#5A95FA
Tritanopia (blue-blind)
#7AA0B6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9788fd;
/* rgb */ color: rgb(151, 136, 253);
/* oklch */ color: oklch(69.2% 0.167 287.1);
Tailwind
colors: {
  custom: {
    50: '#baabfe',
    500: '#9788fd',
    950: '#000000',
  },
}
SCSS
$custom: #9788fd;
$custom-light: #baabfe;
$custom-dark: #000000;
JSON
{
  "hex": "#9788fd",
  "rgb": {
    "r": 151,
    "g": 136,
    "b": 253
  },
  "hsl": {
    "h": 247.692,
    "s": 96.694,
    "l": 76.275
  },
  "oklch": {
    "l": 0.69199,
    "c": 0.16749,
    "h": 287.1
  },
  "luminance": 0.31279
}

Semantic roles & 50–950 ramp

primary
#9788FD
secondary
#F2F7D4
accent
#E600C8
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #9788FD

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

Preview Lab → · Contrast checker → · Palette generator →

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