#787DED#787DED

#787DED is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.9% C 0.165 H 278.7°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#787DED
RGBrgb(120, 125, 237)
HSLhsl(237, 76%, 70%)
HSVhsv(237, 49%, 93%)
CMYKcmyk(49.4%, 47.3%, 0%, 7.1%)
CIE-LABlab(56.85, 27.77, -57.30)
CIE-LCHlch(56.85, 63.67, 295.86°)
OKLaboklab(63.88% 0.025 -0.163)
OKLCHoklch(63.88% 0.165 278.7)
XYZxyz(30.3607, 24.7730, 83.2862)
Luminance0.2477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787DED #EDE878
analogous
#78B7ED #787DED #AE78ED
triadic
#787DED #ED787D #7DED78
tetradic
#787DED #ED78B7 #EDE878 #78EDAE
square
#787DED #ED78B7 #EDE878 #78EDAE
split-complementary
#787DED #EDAE78 #B7ED78
monochromatic
#1C23CF #4249E6 #787DED #AEB1F4 #E4E5FB

Accessibility & contrast

On white

3.53
#787DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#787DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787DED
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787DED#FFFFFF#000000##000000
##787DED1.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8DF1
Deuteranopia (green-blind)
#4184EB
Tritanopia (blue-blind)
#4A95AA
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #787ded;
/* rgb */ color: rgb(120, 125, 237);
/* oklch */ color: oklch(63.9% 0.165 278.7);
Tailwind
colors: {
  custom: {
    50: '#a6a2f3',
    500: '#787ded',
    950: '#000000',
  },
}
SCSS
$custom: #787ded;
$custom-light: #a6a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#787ded",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 237
  },
  "hsl": {
    "h": 237.436,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.63884,
    "c": 0.16489,
    "h": 278.7
  },
  "luminance": 0.24775
}

Semantic roles & 50–950 ramp

primary
#787DED
secondary
#F1EFD0
accent
#D00DD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #787DED

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

Preview Lab → · Contrast checker → · Palette generator →

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