#787EDD#787EDD

#787EDD is a light, vivid blue. Relative luminance 0.241; OKLCH L 63.1% C 0.141 H 278.8°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#787EDD
RGBrgb(120, 126, 221)
HSLhsl(236, 60%, 67%)
HSVhsv(236, 46%, 87%)
CMYKcmyk(45.7%, 43%, 0%, 13.3%)
CIE-LABlab(56.22, 22.40, -49.37)
CIE-LCHlch(56.22, 54.21, 294.40°)
OKLaboklab(63.12% 0.0216 -0.1397)
OKLCHoklch(63.12% 0.141 278.8)
XYZxyz(28.2538, 24.1338, 71.5621)
Luminance0.2414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787EDD #DDD778
analogous
#78B0DD #787EDD #A578DD
triadic
#787EDD #DD787E #7EDD78
tetradic
#787EDD #DD78B0 #DDD778 #78DDA5
square
#787EDD #DD78B0 #DDD778 #78DDA5
split-complementary
#787EDD #DDA578 #B0DD78
monochromatic
#2C34AF #474FD1 #787EDD #A9ADE9 #DADBF6

Accessibility & contrast

On white

3.60
#787EDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#787EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787EDD
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787EDD#FFFFFF#000000##000000
##787EDD1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#598BE1
Deuteranopia (green-blind)
#5283DB
Tritanopia (blue-blind)
#5592A3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #787edd;
/* rgb */ color: rgb(120, 126, 221);
/* oklch */ color: oklch(63.1% 0.141 278.8);
Tailwind
colors: {
  custom: {
    50: '#a4a3e8',
    500: '#787edd',
    950: '#000000',
  },
}
SCSS
$custom: #787edd;
$custom-light: #a4a3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#787edd",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 221
  },
  "hsl": {
    "h": 236.436,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63118,
    "c": 0.1414,
    "h": 278.8
  },
  "luminance": 0.24135
}

Semantic roles & 50–950 ramp

primary
#787EDD
secondary
#E9E7C8
accent
#BD1EC7
background
#FAFAFE
surface
#F4F3FC
border
#CECDD5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #787EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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