#787EDE#787EDE

#787EDE is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.2% C 0.143 H 278.8°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#787EDE
RGBrgb(120, 126, 222)
HSLhsl(236, 61%, 67%)
HSVhsv(236, 46%, 87%)
CMYKcmyk(45.9%, 43.2%, 0%, 12.9%)
CIE-LABlab(56.27, 22.69, -49.84)
CIE-LCHlch(56.27, 54.77, 294.48°)
OKLaboklab(63.18% 0.0218 -0.1411)
OKLCHoklch(63.18% 0.143 278.8)
XYZxyz(28.3874, 24.1873, 72.2659)
Luminance0.2419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787EDE #DED878
analogous
#78B1DE #787EDE #A578DE
triadic
#787EDE #DE787E #7EDE78
tetradic
#787EDE #DE78B1 #DED878 #78DEA5
square
#787EDE #DE78B1 #DED878 #78DEA5
split-complementary
#787EDE #DEA578 #B1DE78
monochromatic
#2B33B0 #474FD2 #787EDE #A9ADEA #DADCF6

Accessibility & contrast

On white

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

On black

5.84
#787EDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787EDE
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787EDE#FFFFFF#000000##000000
##787EDE1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#588BE2
Deuteranopia (green-blind)
#5183DC
Tritanopia (blue-blind)
#5492A3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #787ede;
/* rgb */ color: rgb(120, 126, 222);
/* oklch */ color: oklch(63.2% 0.143 278.8);
Tailwind
colors: {
  custom: {
    50: '#a4a3e9',
    500: '#787ede',
    950: '#000000',
  },
}
SCSS
$custom: #787ede;
$custom-light: #a4a3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#787ede",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 222
  },
  "hsl": {
    "h": 236.471,
    "s": 60.714,
    "l": 67.059
  },
  "oklch": {
    "l": 0.63176,
    "c": 0.1428,
    "h": 278.8
  },
  "luminance": 0.24189
}

Semantic roles & 50–950 ramp

primary
#787EDE
secondary
#E9E7C9
accent
#BE1DC8
background
#FAFAFE
surface
#F4F3FD
border
#CECDD5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #787EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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