#9788EA#9788EA

#9788EA is a light, vivid blue. Relative luminance 0.301; OKLCH L 68.1% C 0.142 H 289.1°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9788EA
RGBrgb(151, 136, 234)
HSLhsl(249, 70%, 73%)
HSVhsv(249, 42%, 92%)
CMYKcmyk(35.5%, 41.9%, 0%, 8.2%)
CIE-LABlab(61.76, 27.96, -47.68)
CIE-LCHlch(61.76, 55.27, 300.38°)
OKLaboklab(68.14% 0.0464 -0.1341)
OKLCHoklch(68.14% 0.142 289.1)
XYZxyz(36.4140, 30.1272, 81.7225)
Luminance0.3013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9788EA #DBEA88
analogous
#88AAEA #9788EA #C888EA
triadic
#9788EA #EA9788 #88EA97
tetradic
#9788EA #EA88AA #DBEA88 #88EAC8
square
#9788EA #EA88AA #DBEA88 #88EAC8
split-complementary
#9788EA #EAC888 #AAEA88
monochromatic
#4025D2 #6A54E1 #9788EA #C4BCF3 #E8E5FA

Accessibility & contrast

On white

2.99
#9788EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#9788EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9788EA
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9788EA#FFFFFF#000000##000000
##9788EA1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6897EE
Deuteranopia (green-blind)
#6893E8
Tritanopia (blue-blind)
#829BAE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9788ea;
/* rgb */ color: rgb(151, 136, 234);
/* oklch */ color: oklch(68.1% 0.142 289.1);
Tailwind
colors: {
  custom: {
    50: '#b8aaf1',
    500: '#9788ea',
    950: '#000000',
  },
}
SCSS
$custom: #9788ea;
$custom-light: #b8aaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9788ea",
  "rgb": {
    "r": 151,
    "g": 136,
    "b": 234
  },
  "hsl": {
    "h": 249.184,
    "s": 70,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68142,
    "c": 0.14187,
    "h": 289.1
  },
  "luminance": 0.30128
}

Semantic roles & 50–950 ramp

primary
#9788EA
secondary
#EEF2D9
accent
#D214B5
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #9788EA

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

Preview Lab → · Contrast checker → · Palette generator →

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