#787FE8#787FE8

#787FE8 is a light, vivid blue. Relative luminance 0.250; OKLCH L 64.0% C 0.155 H 278.2°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#787FE8
RGBrgb(120, 127, 232)
HSLhsl(236, 71%, 69%)
HSVhsv(236, 48%, 91%)
CMYKcmyk(48.3%, 45.3%, 0%, 9%)
CIE-LABlab(57.07, 25.07, -54.17)
CIE-LCHlch(57.07, 59.69, 294.84°)
OKLaboklab(63.96% 0.0221 -0.1538)
OKLCHoklch(63.96% 0.155 278.2)
XYZxyz(29.8961, 24.9963, 79.5778)
Luminance0.2500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787FE8 #E8E178
analogous
#78B7E8 #787FE8 #A978E8
triadic
#787FE8 #E8787F #7FE878
tetradic
#787FE8 #E878B7 #E8E178 #78E8A9
square
#787FE8 #E878B7 #E8E178 #78E8A9
split-complementary
#787FE8 #E8A978 #B7E878
monochromatic
#212CC4 #444DDF #787FE8 #ACB1F1 #E1E2FA

Accessibility & contrast

On white

3.50
#787FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#787FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787FE8
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787FE8#FFFFFF#000000##000000
##787FE81.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#538EEC
Deuteranopia (green-blind)
#4A85E6
Tritanopia (blue-blind)
#4E95A8
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #787fe8;
/* rgb */ color: rgb(120, 127, 232);
/* oklch */ color: oklch(64.0% 0.155 278.2);
Tailwind
colors: {
  custom: {
    50: '#a5a4f0',
    500: '#787fe8',
    950: '#000000',
  },
}
SCSS
$custom: #787fe8;
$custom-light: #a5a4f0;
$custom-dark: #000000;
JSON
{
  "hex": "#787fe8",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 232
  },
  "hsl": {
    "h": 236.25,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.63958,
    "c": 0.15536,
    "h": 278.2
  },
  "luminance": 0.24998
}

Semantic roles & 50–950 ramp

primary
#787FE8
secondary
#EEECCD
accent
#C713D3
background
#FAFAFE
surface
#F4F3FD
border
#CECDD5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #787FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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