#7887DC#7887DC

#7887DC is a light, vivid blue. Relative luminance 0.265; OKLCH L 64.8% C 0.128 H 274.7°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7887DC
RGBrgb(120, 135, 220)
HSLhsl(231, 59%, 67%)
HSVhsv(231, 45%, 86%)
CMYKcmyk(45.5%, 38.6%, 0%, 13.7%)
CIE-LABlab(58.50, 16.75, -45.20)
CIE-LCHlch(58.50, 48.21, 290.33°)
OKLaboklab(64.84% 0.0105 -0.1275)
OKLCHoklch(64.84% 0.128 274.7)
XYZxyz(29.3240, 26.4867, 71.2636)
Luminance0.2649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7887DC #DCCD78
analogous
#78B9DC #7887DC #9B78DC
triadic
#7887DC #DC7887 #87DC78
tetradic
#7887DC #DC78B9 #DCCD78 #78DC9B
square
#7887DC #DC78B9 #DCCD78 #78DC9B
split-complementary
#7887DC #DC9B78 #B9DC78
monochromatic
#2D40AD #475CCF #7887DC #A9B2E9 #D9DDF5

Accessibility & contrast

On white

3.33
#7887DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#7887DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7887DC
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7887DC#FFFFFF#000000##000000
##7887DC1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6791DF
Deuteranopia (green-blind)
#5F89DA
Tritanopia (blue-blind)
#5499A7
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7887dc;
/* rgb */ color: rgb(120, 135, 220);
/* oklch */ color: oklch(64.8% 0.128 274.7);
Tailwind
colors: {
  custom: {
    50: '#a4a9e7',
    500: '#7887dc',
    950: '#000000',
  },
}
SCSS
$custom: #7887dc;
$custom-light: #a4a9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7887dc",
  "rgb": {
    "r": 120,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 231,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64841,
    "c": 0.12795,
    "h": 274.7
  },
  "luminance": 0.26488
}

Semantic roles & 50–950 ramp

primary
#7887DC
secondary
#E8E3C8
accent
#AD1FC6
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #7887DC

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

Preview Lab → · Contrast checker → · Palette generator →

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