#787BE8#787BE8

#787BE8 is a light, vivid blue. Relative luminance 0.240; OKLCH L 63.2% C 0.161 H 279.6°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#787BE8
RGBrgb(120, 123, 232)
HSLhsl(238, 71%, 69%)
HSVhsv(238, 48%, 91%)
CMYKcmyk(48.3%, 47%, 0%, 9%)
CIE-LABlab(56.07, 27.46, -55.76)
CIE-LCHlch(56.07, 62.16, 296.21°)
OKLaboklab(63.2% 0.0267 -0.1585)
OKLCHoklch(63.2% 0.161 279.6)
XYZxyz(29.3897, 23.9836, 79.4090)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787BE8 #E8E578
analogous
#78B3E8 #787BE8 #AD78E8
triadic
#787BE8 #E8787B #7BE878
tetradic
#787BE8 #E878B3 #E8E578 #78E8AD
square
#787BE8 #E878B3 #E8E578 #78E8AD
split-complementary
#787BE8 #E8AD78 #B3E878
monochromatic
#2126C4 #4448DF #787BE8 #ACAEF1 #E1E1FA

Accessibility & contrast

On white

3.62
#787BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#787BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787BE8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787BE8#FFFFFF#000000##000000
##787BE81.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8BEC
Deuteranopia (green-blind)
#4382E6
Tritanopia (blue-blind)
#4E92A6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #787be8;
/* rgb */ color: rgb(120, 123, 232);
/* oklch */ color: oklch(63.2% 0.161 279.6);
Tailwind
colors: {
  custom: {
    50: '#a5a1f0',
    500: '#787be8',
    950: '#000000',
  },
}
SCSS
$custom: #787be8;
$custom-light: #a5a1f0;
$custom-dark: #000000;
JSON
{
  "hex": "#787be8",
  "rgb": {
    "r": 120,
    "g": 123,
    "b": 232
  },
  "hsl": {
    "h": 238.393,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.632,
    "c": 0.16073,
    "h": 279.6
  },
  "luminance": 0.23985
}

Semantic roles & 50–950 ramp

primary
#787BE8
secondary
#EEEDCD
accent
#CE13D3
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #787BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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