#788CFA#788CFA

#788CFA is a light, vivid blue. Relative luminance 0.297; OKLCH L 67.5% C 0.163 H 273.5°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#788CFA
RGBrgb(120, 140, 250)
HSLhsl(231, 93%, 73%)
HSVhsv(231, 52%, 98%)
CMYKcmyk(52%, 44%, 0%, 2%)
CIE-LABlab(61.35, 22.83, -57.30)
CIE-LCHlch(61.35, 61.68, 291.72°)
OKLaboklab(67.53% 0.01 -0.1629)
OKLCHoklch(67.53% 0.163 273.5)
XYZxyz(34.3736, 29.6491, 94.3355)
Luminance0.2965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788CFA #FAE678
analogous
#78CDFA #788CFA #A578FA
triadic
#788CFA #FA788C #8CFA78
tetradic
#788CFA #FA78CD #FAE678 #78FAA5
square
#788CFA #FA78CD #FAE678 #78FAA5
split-complementary
#788CFA #FAA578 #CDFA78
monochromatic
#092CEF #3D5AF8 #788CFA #B3BEFC #E1E6FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##788CFA#FFFFFF#000000##000000
##788CFA1.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)
#5D9AFE
Deuteranopia (green-blind)
#4E8FF8
Tritanopia (blue-blind)
#3CA4B7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #788cfa;
/* rgb */ color: rgb(120, 140, 250);
/* oklch */ color: oklch(67.5% 0.163 273.5);
Tailwind
colors: {
  custom: {
    50: '#a7adfc',
    500: '#788cfa',
    950: '#000000',
  },
}
SCSS
$custom: #788cfa;
$custom-light: #a7adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#788cfa",
  "rgb": {
    "r": 120,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 230.769,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67534,
    "c": 0.16318,
    "h": 273.5
  },
  "luminance": 0.29651
}

Semantic roles & 50–950 ramp

primary
#788CFA
secondary
#F6F1D5
accent
#C200E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #788CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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