#788EF7#788EF7

#788EF7 is a light, vivid blue. Relative luminance 0.301; OKLCH L 67.7% C 0.157 H 272.7°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#788EF7
RGBrgb(120, 142, 247)
HSLhsl(230, 89%, 72%)
HSVhsv(230, 51%, 97%)
CMYKcmyk(51.4%, 42.5%, 0%, 3.1%)
CIE-LABlab(61.70, 20.73, -55.10)
CIE-LCHlch(61.70, 58.87, 290.62°)
OKLaboklab(67.75% 0.0073 -0.1564)
OKLCHoklch(67.75% 0.157 272.7)
XYZxyz(34.2018, 30.0522, 91.9761)
Luminance0.3005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788EF7 #F7E178
analogous
#78CEF7 #788EF7 #A278F7
triadic
#788EF7 #F7788E #8EF778
tetradic
#788EF7 #F778CE #F7E178 #78F7A2
square
#788EF7 #F778CE #F7E178 #78F7A2
split-complementary
#788EF7 #F7A278 #CEF778
monochromatic
#0E33E7 #3E5EF4 #788EF7 #B2BEFA #E2E7FD

Accessibility & contrast

On white

3.00
#788EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#788EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #788EF7
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788EF7#FFFFFF#000000##000000
##788EF71.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFB
Deuteranopia (green-blind)
#5590F5
Tritanopia (blue-blind)
#3EA5B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #788ef7;
/* rgb */ color: rgb(120, 142, 247);
/* oklch */ color: oklch(67.7% 0.157 272.7);
Tailwind
colors: {
  custom: {
    50: '#a6aefa',
    500: '#788ef7',
    950: '#000000',
  },
}
SCSS
$custom: #788ef7;
$custom-light: #a6aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#788ef7",
  "rgb": {
    "r": 120,
    "g": 142,
    "b": 247
  },
  "hsl": {
    "h": 229.606,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67748,
    "c": 0.15657,
    "h": 272.7
  },
  "luminance": 0.30054
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #788EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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