#7887F4#7887F4

#7887F4 is a light, vivid blue. Relative luminance 0.279; OKLCH L 66.2% C 0.161 H 275.2°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#7887F4
RGBrgb(120, 135, 244)
HSLhsl(233, 85%, 71%)
HSVhsv(233, 51%, 96%)
CMYKcmyk(50.8%, 44.7%, 0%, 4.3%)
CIE-LABlab(59.75, 23.95, -56.54)
CIE-LCHlch(59.75, 61.41, 292.96°)
OKLaboklab(66.21% 0.0146 -0.1607)
OKLCHoklch(66.21% 0.161 275.2)
XYZxyz(32.7337, 27.8506, 89.2213)
Luminance0.2785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7887F4 #F4E578
analogous
#78C5F4 #7887F4 #A778F4
triadic
#7887F4 #F47887 #87F478
tetradic
#7887F4 #F478C5 #F4E578 #78F4A7
square
#7887F4 #F478C5 #F4E578 #78F4A7
split-complementary
#7887F4 #F4A778 #C5F478
monochromatic
#122BDF #3F55EF #7887F4 #B1B9F9 #E3E6FD

Accessibility & contrast

On white

3.20
#7887F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#7887F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7887F4
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7887F4#FFFFFF#000000##000000
##7887F41.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5895F8
Deuteranopia (green-blind)
#4B8BF2
Tritanopia (blue-blind)
#439FB2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7887f4;
/* rgb */ color: rgb(120, 135, 244);
/* oklch */ color: oklch(66.2% 0.161 275.2);
Tailwind
colors: {
  custom: {
    50: '#a6a9f8',
    500: '#7887f4',
    950: '#000000',
  },
}
SCSS
$custom: #7887f4;
$custom-light: #a6a9f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7887f4",
  "rgb": {
    "r": 120,
    "g": 135,
    "b": 244
  },
  "hsl": {
    "h": 232.742,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66211,
    "c": 0.16136,
    "h": 275.2
  },
  "luminance": 0.27853
}

Semantic roles & 50–950 ramp

primary
#7887F4
secondary
#F4F0D4
accent
#C704E1
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7887F4

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

Preview Lab → · Contrast checker → · Palette generator →

#7887F4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva