#7887EA#7887EA

#7887EA is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.6% C 0.148 H 275.1°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7887EA
RGBrgb(120, 135, 234)
HSLhsl(232, 73%, 69%)
HSVhsv(232, 49%, 92%)
CMYKcmyk(48.7%, 42.3%, 0%, 8.2%)
CIE-LABlab(59.21, 20.92, -51.87)
CIE-LCHlch(59.21, 55.93, 291.97°)
OKLaboklab(65.62% 0.0131 -0.147)
OKLCHoklch(65.62% 0.148 275.1)
XYZxyz(31.2563, 27.2597, 81.4406)
Luminance0.2726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7887EA #EADB78
analogous
#78C0EA #7887EA #A278EA
triadic
#7887EA #EA7887 #87EA78
tetradic
#7887EA #EA78C0 #EADB78 #78EAA2
square
#7887EA #EA78C0 #EADB78 #78EAA2
split-complementary
#7887EA #EAA278 #C0EA78
monochromatic
#1F35C8 #4358E2 #7887EA #ADB6F2 #E2E5FA

Accessibility & contrast

On white

3.25
#7887EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#7887EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7887EA
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7887EA#FFFFFF#000000##000000
##7887EA1.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F93EE
Deuteranopia (green-blind)
#558AE8
Tritanopia (blue-blind)
#4B9CAD
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7887ea;
/* rgb */ color: rgb(120, 135, 234);
/* oklch */ color: oklch(65.6% 0.148 275.1);
Tailwind
colors: {
  custom: {
    50: '#a5a9f1',
    500: '#7887ea',
    950: '#000000',
  },
}
SCSS
$custom: #7887ea;
$custom-light: #a5a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7887ea",
  "rgb": {
    "r": 120,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 232.105,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65624,
    "c": 0.14758,
    "h": 275.1
  },
  "luminance": 0.27262
}

Semantic roles & 50–950 ramp

primary
#7887EA
secondary
#EFEBCE
accent
#BB10D5
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7887EA

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

Preview Lab → · Contrast checker → · Palette generator →

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