#788CFC#788CFC

#788CFC is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.7% C 0.166 H 273.5°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#788CFC
RGBrgb(120, 140, 252)
HSLhsl(231, 96%, 73%)
HSVhsv(231, 52%, 99%)
CMYKcmyk(52.4%, 44.4%, 0%, 1.2%)
CIE-LABlab(61.46, 23.44, -58.22)
CIE-LCHlch(61.46, 62.77, 291.93°)
OKLaboklab(67.65% 0.0103 -0.1656)
OKLCHoklch(67.65% 0.166 273.5)
XYZxyz(34.6888, 29.7752, 95.9959)
Luminance0.2978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788CFC #FCE878
analogous
#78CEFC #788CFC #A678FC
triadic
#788CFC #FC788C #8CFC78
tetradic
#788CFC #FC78CE #FCE878 #78FCA6
square
#788CFC #FC78CE #FCE878 #78FCA6
split-complementary
#788CFC #FCA678 #CEFC78
monochromatic
#052AF4 #3C59FB #788CFC #B4BFFD #E1E6FE

Accessibility & contrast

On white

3.02
#788CFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#788CFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788CFC
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788CFC#FFFFFF#000000##000000
##788CFC1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9AFF
Deuteranopia (green-blind)
#4C8FFA
Tritanopia (blue-blind)
#3AA4B8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #788cfc;
/* rgb */ color: rgb(120, 140, 252);
/* oklch */ color: oklch(67.7% 0.166 273.5);
Tailwind
colors: {
  custom: {
    50: '#a7adfe',
    500: '#788cfc',
    950: '#000000',
  },
}
SCSS
$custom: #788cfc;
$custom-light: #a7adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#788cfc",
  "rgb": {
    "r": 120,
    "g": 140,
    "b": 252
  },
  "hsl": {
    "h": 230.909,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67653,
    "c": 0.16591,
    "h": 273.5
  },
  "luminance": 0.29778
}

Semantic roles & 50–950 ramp

primary
#788CFC
secondary
#F7F1D4
accent
#C300E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #788CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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