#7887FB#7887FB

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

Color values

HEX#7887FB
RGBrgb(120, 135, 251)
HSLhsl(233, 94%, 73%)
HSVhsv(233, 52%, 98%)
CMYKcmyk(52.2%, 46.2%, 0%, 1.6%)
CIE-LABlab(60.14, 26.09, -59.78)
CIE-LCHlch(60.14, 65.22, 293.58°)
OKLaboklab(66.63% 0.0156 -0.1702)
OKLCHoklch(66.63% 0.171 275.2)
XYZxyz(33.8167, 28.2838, 94.9255)
Luminance0.2829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7887FB #FBEC78
analogous
#78C8FB #7887FB #AB78FB
triadic
#7887FB #FB7887 #87FB78
tetradic
#7887FB #FB78C8 #FBEC78 #78FBAB
square
#7887FB #FB78C8 #FBEC78 #78FBAB
split-complementary
#7887FB #FBAB78 #C8FB78
monochromatic
#0722F1 #3D52F9 #7887FB #B3BCFD #E1E5FE

Accessibility & contrast

On white

3.15
#7887FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#7887FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7887FB
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7887FB#FFFFFF#000000##000000
##7887FB1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5397FF
Deuteranopia (green-blind)
#448CF8
Tritanopia (blue-blind)
#3CA0B5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7887fb;
/* rgb */ color: rgb(120, 135, 251);
/* oklch */ color: oklch(66.6% 0.171 275.2);
Tailwind
colors: {
  custom: {
    50: '#a7a9fd',
    500: '#7887fb',
    950: '#000000',
  },
}
SCSS
$custom: #7887fb;
$custom-light: #a7a9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7887fb",
  "rgb": {
    "r": 120,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 233.13,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.66634,
    "c": 0.1709,
    "h": 275.2
  },
  "luminance": 0.28286
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7887FB

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

Preview Lab → · Contrast checker → · Palette generator →

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