#787DF0#787DF0

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

Color values

HEX#787DF0
RGBrgb(120, 125, 240)
HSLhsl(238, 80%, 71%)
HSVhsv(238, 50%, 94%)
CMYKcmyk(50%, 47.9%, 0%, 5.9%)
CIE-LABlab(57.03, 28.67, -58.69)
CIE-LCHlch(57.03, 65.32, 296.04°)
OKLaboklab(64.07% 0.0253 -0.1671)
OKLCHoklch(64.07% 0.169 278.6)
XYZxyz(30.8026, 24.9498, 85.6139)
Luminance0.2495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787DF0 #F0EB78
analogous
#78B9F0 #787DF0 #AF78F0
triadic
#787DF0 #F0787D #7DF078
tetradic
#787DF0 #F078B9 #F0EB78 #78F0AF
square
#787DF0 #F078B9 #F0EB78 #78F0AF
split-complementary
#787DF0 #F0AF78 #B9F078
monochromatic
#1820D6 #4148EA #787DF0 #AFB2F6 #E3E4FC

Accessibility & contrast

On white

3.51
#787DF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#787DF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787DF0
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787DF0#FFFFFF#000000##000000
##787DF01.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#498EF4
Deuteranopia (green-blind)
#3D84ED
Tritanopia (blue-blind)
#4896AB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #787df0;
/* rgb */ color: rgb(120, 125, 240);
/* oklch */ color: oklch(64.1% 0.169 278.6);
Tailwind
colors: {
  custom: {
    50: '#a6a2f5',
    500: '#787df0',
    950: '#000000',
  },
}
SCSS
$custom: #787df0;
$custom-light: #a6a2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#787df0",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 240
  },
  "hsl": {
    "h": 237.5,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.6407,
    "c": 0.16899,
    "h": 278.6
  },
  "luminance": 0.24952
}

Semantic roles & 50–950 ramp

primary
#787DF0
secondary
#F2F1D2
accent
#D409DC
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #787DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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