#9788FA#9788FA

#9788FA is a light, vivid blue. Relative luminance 0.311; OKLCH L 69.0% C 0.163 H 287.3°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#9788FA
RGBrgb(151, 136, 250)
HSLhsl(248, 92%, 76%)
HSVhsv(248, 46%, 98%)
CMYKcmyk(39.6%, 45.6%, 0%, 2%)
CIE-LABlab(62.58, 32.25, -55.21)
CIE-LCHlch(62.58, 63.94, 300.29°)
OKLaboklab(69.03% 0.0487 -0.156)
OKLCHoklch(69.03% 0.163 287.3)
XYZxyz(38.8172, 31.0884, 94.3794)
Luminance0.3109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9788FA #EBFA88
analogous
#88B2FA #9788FA #D088FA
triadic
#9788FA #FA9788 #88FA97
tetradic
#9788FA #FA88B2 #EBFA88 #88FAD0
square
#9788FA #FA88B2 #EBFA88 #88FAD0
split-complementary
#9788FA #FAD088 #B2FA88
monochromatic
#3013F5 #644DF8 #9788FA #CAC3FC #E5E2FE

Accessibility & contrast

On white

2.91
#9788FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#9788FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9788FA
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9788FA#FFFFFF#000000##000000
##9788FA1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFE
Deuteranopia (green-blind)
#5C94F7
Tritanopia (blue-blind)
#7B9FB5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9788fa;
/* rgb */ color: rgb(151, 136, 250);
/* oklch */ color: oklch(69.0% 0.163 287.3);
Tailwind
colors: {
  custom: {
    50: '#baabfc',
    500: '#9788fa',
    950: '#000000',
  },
}
SCSS
$custom: #9788fa;
$custom-light: #baabfc;
$custom-dark: #000000;
JSON
{
  "hex": "#9788fa",
  "rgb": {
    "r": 151,
    "g": 136,
    "b": 250
  },
  "hsl": {
    "h": 247.895,
    "s": 91.935,
    "l": 75.686
  },
  "oklch": {
    "l": 0.69027,
    "c": 0.16348,
    "h": 287.3
  },
  "luminance": 0.3109
}

Semantic roles & 50–950 ramp

primary
#9788FA
secondary
#F2F6D5
accent
#E600C7
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #9788FA

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

Preview Lab → · Contrast checker → · Palette generator →

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