#788DF5#788DF5

#788DF5 is a light, vivid blue. Relative luminance 0.296; OKLCH L 67.4% C 0.155 H 273.0°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#788DF5
RGBrgb(120, 141, 245)
HSLhsl(230, 86%, 72%)
HSVhsv(230, 51%, 96%)
CMYKcmyk(51%, 42.4%, 0%, 3.9%)
CIE-LABlab(61.34, 20.71, -54.57)
CIE-LCHlch(61.34, 58.37, 290.78°)
OKLaboklab(67.44% 0.0081 -0.1549)
OKLCHoklch(67.44% 0.155 273)
XYZxyz(33.7468, 29.6332, 90.3100)
Luminance0.2964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788DF5 #F5E078
analogous
#78CCF5 #788DF5 #A278F5
triadic
#788DF5 #F5788D #8DF578
tetradic
#788DF5 #F578CC #F5E078 #78F5A2
square
#788DF5 #F578CC #F5E078 #78F5A2
split-complementary
#788DF5 #F5A278 #CCF578
monochromatic
#1134E2 #3F5DF1 #788DF5 #B1BDF9 #E3E7FD

Accessibility & contrast

On white

3.03
#788DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#788DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788DF5
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788DF5#FFFFFF#000000##000000
##788DF51.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#629AF9
Deuteranopia (green-blind)
#558FF3
Tritanopia (blue-blind)
#41A3B5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #788df5;
/* rgb */ color: rgb(120, 141, 245);
/* oklch */ color: oklch(67.4% 0.155 273.0);
Tailwind
colors: {
  custom: {
    50: '#a6aef9',
    500: '#788df5',
    950: '#000000',
  },
}
SCSS
$custom: #788df5;
$custom-light: #a6aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#788df5",
  "rgb": {
    "r": 120,
    "g": 141,
    "b": 245
  },
  "hsl": {
    "h": 229.92,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67436,
    "c": 0.15509,
    "h": 273
  },
  "luminance": 0.29635
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #788DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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