#7876F7#7876F7

#7876F7 is a light, vivid blue. Relative luminance 0.237; OKLCH L 63.2% C 0.188 H 280.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7876F7
RGBrgb(120, 118, 247)
HSLhsl(241, 89%, 72%)
HSVhsv(241, 52%, 97%)
CMYKcmyk(51.4%, 52.2%, 0%, 3.1%)
CIE-LABlab(55.75, 34.94, -64.62)
CIE-LCHlch(55.75, 73.46, 298.40°)
OKLaboklab(63.25% 0.0335 -0.1846)
OKLCHoklch(63.25% 0.188 280.3)
XYZxyz(31.0075, 23.6635, 90.9113)
Luminance0.2366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7876F7 #F5F776
analogous
#76B5F7 #7876F7 #B976F7
triadic
#7876F7 #F77876 #76F778
tetradic
#7876F7 #F776B5 #F5F776 #76F7B9
square
#7876F7 #F776B5 #F5F776 #76F7B9
split-complementary
#7876F7 #F7B976 #B5F776
monochromatic
#110DE5 #3F3CF4 #7876F7 #B1B0FA #E3E2FD

Accessibility & contrast

On white

3.66
#7876F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#7876F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7876F7
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7876F7#FFFFFF#000000##000000
##7876F71.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8BFB
Deuteranopia (green-blind)
#1E81F4
Tritanopia (blue-blind)
#4393AB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7876f7;
/* rgb */ color: rgb(120, 118, 247);
/* oklch */ color: oklch(63.2% 0.188 280.3);
Tailwind
colors: {
  custom: {
    50: '#a79dfb',
    500: '#7876f7',
    950: '#000000',
  },
}
SCSS
$custom: #7876f7;
$custom-light: #a79dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#7876f7",
  "rgb": {
    "r": 120,
    "g": 118,
    "b": 247
  },
  "hsl": {
    "h": 240.93,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.63245,
    "c": 0.18759,
    "h": 280.3
  },
  "luminance": 0.23665
}

Semantic roles & 50–950 ramp

primary
#7876F7
secondary
#F4F5D4
accent
#E600E2
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7876F7

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

Preview Lab → · Contrast checker → · Palette generator →

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