#788AF7#788AF7

#788AF7 is a light, vivid blue. Relative luminance 0.289; OKLCH L 67.0% C 0.162 H 274.2°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#788AF7
RGBrgb(120, 138, 247)
HSLhsl(231, 89%, 72%)
HSVhsv(231, 51%, 97%)
CMYKcmyk(51.4%, 44.1%, 0%, 3.1%)
CIE-LABlab(60.68, 23.09, -56.72)
CIE-LCHlch(60.68, 61.24, 292.15°)
OKLaboklab(66.97% 0.0117 -0.1612)
OKLCHoklch(66.97% 0.162 274.2)
XYZxyz(33.6173, 28.8833, 91.7812)
Luminance0.2888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788AF7 #F7E578
analogous
#78CAF7 #788AF7 #A678F7
triadic
#788AF7 #F7788A #8AF778
tetradic
#788AF7 #F778CA #F7E578 #78F7A6
square
#788AF7 #F778CA #F7E578 #78F7A6
split-complementary
#788AF7 #F7A678 #CAF778
monochromatic
#0E2CE7 #3E58F4 #788AF7 #B2BCFA #E2E6FD

Accessibility & contrast

On white

3.10
#788AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#788AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788AF7
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788AF7#FFFFFF#000000##000000
##788AF71.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B98FB
Deuteranopia (green-blind)
#4E8DF5
Tritanopia (blue-blind)
#3FA2B5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #788af7;
/* rgb */ color: rgb(120, 138, 247);
/* oklch */ color: oklch(67.0% 0.162 274.2);
Tailwind
colors: {
  custom: {
    50: '#a6abfa',
    500: '#788af7',
    950: '#000000',
  },
}
SCSS
$custom: #788af7;
$custom-light: #a6abfa;
$custom-dark: #000000;
JSON
{
  "hex": "#788af7",
  "rgb": {
    "r": 120,
    "g": 138,
    "b": 247
  },
  "hsl": {
    "h": 231.496,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.66969,
    "c": 0.16163,
    "h": 274.2
  },
  "luminance": 0.28885
}

Semantic roles & 50–950 ramp

primary
#788AF7
secondary
#F5F1D5
accent
#C500E5
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #788AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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