#788EF5#788EF5

#788EF5 is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.6% C 0.154 H 272.6°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#788EF5
RGBrgb(120, 142, 245)
HSLhsl(229, 86%, 72%)
HSVhsv(229, 51%, 96%)
CMYKcmyk(51%, 42%, 0%, 3.9%)
CIE-LABlab(61.59, 20.12, -54.17)
CIE-LCHlch(61.59, 57.78, 290.37°)
OKLaboklab(67.63% 0.0069 -0.1537)
OKLCHoklch(67.63% 0.154 272.6)
XYZxyz(33.8949, 29.9294, 90.3594)
Luminance0.2993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788EF5 #F5DF78
analogous
#78CDF5 #788EF5 #A178F5
triadic
#788EF5 #F5788E #8EF578
tetradic
#788EF5 #F578CD #F5DF78 #78F5A1
square
#788EF5 #F578CD #F5DF78 #78F5A1
split-complementary
#788EF5 #F5A178 #CDF578
monochromatic
#1136E2 #3F5EF1 #788EF5 #B1BEF9 #E3E7FD

Accessibility & contrast

On white

3.01
#788EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#788EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788EF5
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788EF5#FFFFFF#000000##000000
##788EF51.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#649AF9
Deuteranopia (green-blind)
#5690F3
Tritanopia (blue-blind)
#40A4B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #788ef5;
/* rgb */ color: rgb(120, 142, 245);
/* oklch */ color: oklch(67.6% 0.154 272.6);
Tailwind
colors: {
  custom: {
    50: '#a6aef9',
    500: '#788ef5',
    950: '#000000',
  },
}
SCSS
$custom: #788ef5;
$custom-light: #a6aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#788ef5",
  "rgb": {
    "r": 120,
    "g": 142,
    "b": 245
  },
  "hsl": {
    "h": 229.44,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67633,
    "c": 0.15383,
    "h": 272.6
  },
  "luminance": 0.29932
}

Semantic roles & 50–950 ramp

primary
#788EF5
secondary
#F4EFD4
accent
#BB03E3
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #788EF5

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

Preview Lab → · Contrast checker → · Palette generator →

#788EF5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva