#9788F9#9788F9

#9788F9 is a light, vivid blue. Relative luminance 0.310; OKLCH L 69.0% C 0.162 H 287.4°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9788F9
RGBrgb(151, 136, 249)
HSLhsl(248, 90%, 75%)
HSVhsv(248, 45%, 98%)
CMYKcmyk(39.4%, 45.4%, 0%, 2.4%)
CIE-LABlab(62.53, 31.98, -54.74)
CIE-LCHlch(62.53, 63.40, 300.29°)
OKLaboklab(68.97% 0.0486 -0.1547)
OKLCHoklch(68.97% 0.162 287.4)
XYZxyz(38.6608, 31.0259, 93.5558)
Luminance0.3103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9788F9 #EAF988
analogous
#88B1F9 #9788F9 #D088F9
triadic
#9788F9 #F99788 #88F997
tetradic
#9788F9 #F988B1 #EAF988 #88F9D0
square
#9788F9 #F988B1 #EAF988 #88F9D0
split-complementary
#9788F9 #F9D088 #B1F988
monochromatic
#3113F3 #644EF6 #9788F9 #CAC2FC #E6E2FE

Accessibility & contrast

On white

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

On black

7.21
#9788F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9788F9
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9788F9#FFFFFF#000000##000000
##9788F91.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9AFD
Deuteranopia (green-blind)
#5D94F6
Tritanopia (blue-blind)
#7C9FB5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9788f9;
/* rgb */ color: rgb(151, 136, 249);
/* oklch */ color: oklch(69.0% 0.162 287.4);
Tailwind
colors: {
  custom: {
    50: '#baabfc',
    500: '#9788f9',
    950: '#000000',
  },
}
SCSS
$custom: #9788f9;
$custom-light: #baabfc;
$custom-dark: #000000;
JSON
{
  "hex": "#9788f9",
  "rgb": {
    "r": 151,
    "g": 136,
    "b": 249
  },
  "hsl": {
    "h": 247.965,
    "s": 90.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.6897,
    "c": 0.16215,
    "h": 287.4
  },
  "luminance": 0.31027
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9788F9

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

Preview Lab → · Contrast checker → · Palette generator →

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