#9788EE#9788EE

#9788EE is a light, vivid blue. Relative luminance 0.304; OKLCH L 68.4% C 0.147 H 288.6°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9788EE
RGBrgb(151, 136, 238)
HSLhsl(249, 75%, 73%)
HSVhsv(249, 43%, 93%)
CMYKcmyk(36.6%, 42.9%, 0%, 6.7%)
CIE-LABlab(61.96, 29.02, -49.58)
CIE-LCHlch(61.96, 57.45, 300.34°)
OKLaboklab(68.36% 0.0471 -0.1396)
OKLCHoklch(68.36% 0.147 288.6)
XYZxyz(36.9951, 30.3596, 84.7831)
Luminance0.3036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9788EE #DFEE88
analogous
#88ACEE #9788EE #CA88EE
triadic
#9788EE #EE9788 #88EE97
tetradic
#9788EE #EE88AC #DFEE88 #88EECA
square
#9788EE #EE88AC #DFEE88 #88EECA
split-complementary
#9788EE #EECA88 #ACEE88
monochromatic
#3B1FDC #6852E6 #9788EE #C6BEF6 #E8E4FB

Accessibility & contrast

On white

2.97
#9788EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#9788EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9788EE
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9788EE#FFFFFF#000000##000000
##9788EE1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6598F2
Deuteranopia (green-blind)
#6593EC
Tritanopia (blue-blind)
#809CB0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9788ee;
/* rgb */ color: rgb(151, 136, 238);
/* oklch */ color: oklch(68.4% 0.147 288.6);
Tailwind
colors: {
  custom: {
    50: '#b9aaf4',
    500: '#9788ee',
    950: '#000000',
  },
}
SCSS
$custom: #9788ee;
$custom-light: #b9aaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#9788ee",
  "rgb": {
    "r": 151,
    "g": 136,
    "b": 238
  },
  "hsl": {
    "h": 248.824,
    "s": 75,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68358,
    "c": 0.14732,
    "h": 288.6
  },
  "luminance": 0.30361
}

Semantic roles & 50–950 ramp

primary
#9788EE
secondary
#EFF3D8
accent
#D70EBA
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #9788EE

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

Preview Lab → · Contrast checker → · Palette generator →

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