#7887FA#7887FA

#7887FA is a light, vivid blue. Relative luminance 0.282; OKLCH L 66.6% C 0.170 H 275.2°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7887FA
RGBrgb(120, 135, 250)
HSLhsl(233, 93%, 73%)
HSVhsv(233, 52%, 98%)
CMYKcmyk(52%, 46%, 0%, 2%)
CIE-LABlab(60.09, 25.78, -59.32)
CIE-LCHlch(60.09, 64.68, 293.49°)
OKLaboklab(66.57% 0.0154 -0.1688)
OKLCHoklch(66.57% 0.17 275.2)
XYZxyz(33.6595, 28.2210, 94.0975)
Luminance0.2822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7887FA #FAEB78
analogous
#78C8FA #7887FA #AA78FA
triadic
#7887FA #FA7887 #87FA78
tetradic
#7887FA #FA78C8 #FAEB78 #78FAAA
square
#7887FA #FA78C8 #FAEB78 #78FAAA
split-complementary
#7887FA #FAAA78 #C8FA78
monochromatic
#0923EF #3D53F8 #7887FA #B3BBFC #E1E5FE

Accessibility & contrast

On white

3.16
#7887FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#7887FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7887FA
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7887FA#FFFFFF#000000##000000
##7887FA1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5496FE
Deuteranopia (green-blind)
#458CF8
Tritanopia (blue-blind)
#3DA0B4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7887fa;
/* rgb */ color: rgb(120, 135, 250);
/* oklch */ color: oklch(66.6% 0.170 275.2);
Tailwind
colors: {
  custom: {
    50: '#a7a9fc',
    500: '#7887fa',
    950: '#000000',
  },
}
SCSS
$custom: #7887fa;
$custom-light: #a7a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7887fa",
  "rgb": {
    "r": 120,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 233.077,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.66573,
    "c": 0.16954,
    "h": 275.2
  },
  "luminance": 0.28223
}

Semantic roles & 50–950 ramp

primary
#7887FA
secondary
#F6F2D5
accent
#CB00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #7887FA

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

Preview Lab → · Contrast checker → · Palette generator →

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