#787EED#787EED

#787EED is a light, vivid blue. Relative luminance 0.250; OKLCH L 64.1% C 0.164 H 278.4°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#787EED
RGBrgb(120, 126, 237)
HSLhsl(237, 76%, 70%)
HSVhsv(237, 49%, 93%)
CMYKcmyk(49.4%, 46.8%, 0%, 7.1%)
CIE-LABlab(57.10, 27.17, -56.90)
CIE-LCHlch(57.10, 63.06, 295.53°)
OKLaboklab(64.07% 0.0239 -0.1618)
OKLCHoklch(64.07% 0.164 278.4)
XYZxyz(30.4879, 25.0275, 83.3286)
Luminance0.2503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787EED #EDE778
analogous
#78B9ED #787EED #AC78ED
triadic
#787EED #ED787E #7EED78
tetradic
#787EED #ED78B9 #EDE778 #78EDAC
square
#787EED #ED78B9 #EDE778 #78EDAC
split-complementary
#787EED #EDAC78 #B9ED78
monochromatic
#1C25CF #424AE6 #787EED #AEB2F4 #E4E5FB

Accessibility & contrast

On white

3.50
#787EED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#787EED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787EED
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787EED#FFFFFF#000000##000000
##787EED1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8EF1
Deuteranopia (green-blind)
#4385EB
Tritanopia (blue-blind)
#4A96AA
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #787eed;
/* rgb */ color: rgb(120, 126, 237);
/* oklch */ color: oklch(64.1% 0.164 278.4);
Tailwind
colors: {
  custom: {
    50: '#a6a3f3',
    500: '#787eed',
    950: '#000000',
  },
}
SCSS
$custom: #787eed;
$custom-light: #a6a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#787eed",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 237
  },
  "hsl": {
    "h": 236.923,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.64072,
    "c": 0.16357,
    "h": 278.4
  },
  "luminance": 0.25029
}

Semantic roles & 50–950 ramp

primary
#787EED
secondary
#F1EFD0
accent
#CE0DD9
background
#FAFAFE
surface
#F4F3FD
border
#CECDD5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #787EED

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

Preview Lab → · Contrast checker → · Palette generator →

#787EED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva