#787AE8#787AE8

#787AE8 is a light, vivid blue. Relative luminance 0.237; OKLCH L 63.0% C 0.162 H 279.9°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#787AE8
RGBrgb(120, 122, 232)
HSLhsl(239, 71%, 69%)
HSVhsv(239, 48%, 91%)
CMYKcmyk(48.3%, 47.4%, 0%, 9%)
CIE-LABlab(55.82, 28.05, -56.16)
CIE-LCHlch(55.82, 62.78, 296.54°)
OKLaboklab(63.01% 0.0278 -0.1597)
OKLCHoklch(63.01% 0.162 279.9)
XYZxyz(29.2663, 23.7368, 79.3678)
Luminance0.2374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787AE8 #E8E678
analogous
#78B2E8 #787AE8 #AE78E8
triadic
#787AE8 #E8787A #7AE878
tetradic
#787AE8 #E878B2 #E8E678 #78E8AE
square
#787AE8 #E878B2 #E8E678 #78E8AE
split-complementary
#787AE8 #E8AE78 #B2E878
monochromatic
#2124C4 #4446DF #787AE8 #ACAEF1 #E1E1FA

Accessibility & contrast

On white

3.65
#787AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#787AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787AE8
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787AE8#FFFFFF#000000##000000
##787AE81.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #787ae8;
/* rgb */ color: rgb(120, 122, 232);
/* oklch */ color: oklch(63.0% 0.162 279.9);
Tailwind
colors: {
  custom: {
    50: '#a5a0f0',
    500: '#787ae8',
    950: '#000000',
  },
}
SCSS
$custom: #787ae8;
$custom-light: #a5a0f0;
$custom-dark: #000000;
JSON
{
  "hex": "#787ae8",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 232
  },
  "hsl": {
    "h": 238.929,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.63013,
    "c": 0.16208,
    "h": 279.9
  },
  "luminance": 0.23738
}

Semantic roles & 50–950 ramp

primary
#787AE8
secondary
#EEEECD
accent
#CF13D3
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #787AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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