#788CF7#788CF7

#788CF7 is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.4% C 0.159 H 273.4°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#788CF7
RGBrgb(120, 140, 247)
HSLhsl(231, 89%, 72%)
HSVhsv(231, 51%, 97%)
CMYKcmyk(51.4%, 43.3%, 0%, 3.1%)
CIE-LABlab(61.19, 21.91, -55.91)
CIE-LCHlch(61.19, 60.05, 291.40°)
OKLaboklab(67.36% 0.0095 -0.1588)
OKLCHoklch(67.36% 0.159 273.4)
XYZxyz(33.9069, 29.4624, 91.8778)
Luminance0.2947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788CF7 #F7E378
analogous
#78CCF7 #788CF7 #A478F7
triadic
#788CF7 #F7788C #8CF778
tetradic
#788CF7 #F778CC #F7E378 #78F7A4
square
#788CF7 #F778CC #F7E378 #78F7A4
split-complementary
#788CF7 #F7A478 #CCF778
monochromatic
#0E30E7 #3E5BF4 #788CF7 #B2BDFA #E2E6FD

Accessibility & contrast

On white

3.05
#788CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#788CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788CF7
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788CF7#FFFFFF#000000##000000
##788CF71.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F99FB
Deuteranopia (green-blind)
#518FF5
Tritanopia (blue-blind)
#3FA3B5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #788cf7;
/* rgb */ color: rgb(120, 140, 247);
/* oklch */ color: oklch(67.4% 0.159 273.4);
Tailwind
colors: {
  custom: {
    50: '#a6adfa',
    500: '#788cf7',
    950: '#000000',
  },
}
SCSS
$custom: #788cf7;
$custom-light: #a6adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#788cf7",
  "rgb": {
    "r": 120,
    "g": 140,
    "b": 247
  },
  "hsl": {
    "h": 230.551,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67357,
    "c": 0.15909,
    "h": 273.4
  },
  "luminance": 0.29465
}

Semantic roles & 50–950 ramp

primary
#788CF7
secondary
#F5F0D5
accent
#C100E5
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #788CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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