#7877F7#7877F7

#7877F7 is a light, vivid blue. Relative luminance 0.239; OKLCH L 63.4% C 0.186 H 280.0°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7877F7
RGBrgb(120, 119, 247)
HSLhsl(240, 89%, 72%)
HSVhsv(240, 52%, 97%)
CMYKcmyk(51.4%, 51.8%, 0%, 3.1%)
CIE-LABlab(55.99, 34.35, -64.24)
CIE-LCHlch(55.99, 72.84, 298.13°)
OKLaboklab(63.42% 0.0324 -0.1834)
OKLCHoklch(63.42% 0.186 280)
XYZxyz(31.1259, 23.9003, 90.9507)
Luminance0.2390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7877F7 #F6F777
analogous
#77B6F7 #7877F7 #B877F7
triadic
#7877F7 #F77877 #77F778
tetradic
#7877F7 #F777B6 #F6F777 #77F7B8
square
#7877F7 #F777B6 #F6F777 #77F7B8
split-complementary
#7877F7 #F7B877 #B6F777
monochromatic
#0F0EE6 #3F3DF4 #7877F7 #B1B1FA #E2E2FD

Accessibility & contrast

On white

3.63
#7877F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#7877F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7877F7
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7877F7#FFFFFF#000000##000000
##7877F71.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#328BFB
Deuteranopia (green-blind)
#2281F4
Tritanopia (blue-blind)
#4394AC
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7877f7;
/* rgb */ color: rgb(120, 119, 247);
/* oklch */ color: oklch(63.4% 0.186 280.0);
Tailwind
colors: {
  custom: {
    50: '#a79efb',
    500: '#7877f7',
    950: '#000000',
  },
}
SCSS
$custom: #7877f7;
$custom-light: #a79efb;
$custom-dark: #000000;
JSON
{
  "hex": "#7877f7",
  "rgb": {
    "r": 120,
    "g": 119,
    "b": 247
  },
  "hsl": {
    "h": 240.469,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.63424,
    "c": 0.18628,
    "h": 280
  },
  "luminance": 0.23902
}

Semantic roles & 50–950 ramp

primary
#7877F7
secondary
#F5F5D5
accent
#E600E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7877F7

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

Preview Lab → · Contrast checker → · Palette generator →

#7877F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva