#788DFA#788DFA

#788DFA is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.7% C 0.162 H 273.1°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#788DFA
RGBrgb(120, 141, 250)
HSLhsl(230, 93%, 73%)
HSVhsv(230, 52%, 98%)
CMYKcmyk(52%, 43.6%, 0%, 2%)
CIE-LABlab(61.60, 22.23, -56.90)
CIE-LCHlch(61.60, 61.09, 291.35°)
OKLaboklab(67.73% 0.0089 -0.1617)
OKLCHoklch(67.73% 0.162 273.1)
XYZxyz(34.5204, 29.9427, 94.3844)
Luminance0.2994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788DFA #FAE578
analogous
#78CEFA #788DFA #A478FA
triadic
#788DFA #FA788D #8DFA78
tetradic
#788DFA #FA78CE #FAE578 #78FAA4
square
#788DFA #FA78CE #FAE578 #78FAA4
split-complementary
#788DFA #FAA478 #CEFA78
monochromatic
#092EEF #3D5BF8 #788DFA #B3BFFC #E1E6FE

Accessibility & contrast

On white

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

On black

6.99
#788DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788DFA
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788DFA#FFFFFF#000000##000000
##788DFA1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFE
Deuteranopia (green-blind)
#5090F8
Tritanopia (blue-blind)
#3CA5B7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #788dfa;
/* rgb */ color: rgb(120, 141, 250);
/* oklch */ color: oklch(67.7% 0.162 273.1);
Tailwind
colors: {
  custom: {
    50: '#a7aefc',
    500: '#788dfa',
    950: '#000000',
  },
}
SCSS
$custom: #788dfa;
$custom-light: #a7aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#788dfa",
  "rgb": {
    "r": 120,
    "g": 141,
    "b": 250
  },
  "hsl": {
    "h": 230.308,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67728,
    "c": 0.16192,
    "h": 273.1
  },
  "luminance": 0.29945
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #788DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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