#7876F2#7876F2

#7876F2 is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.9% C 0.181 H 280.6°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7876F2
RGBrgb(120, 118, 242)
HSLhsl(241, 83%, 71%)
HSVhsv(241, 51%, 95%)
CMYKcmyk(50.4%, 51.2%, 0%, 5.1%)
CIE-LABlab(55.44, 33.43, -62.35)
CIE-LCHlch(55.44, 70.74, 298.20°)
OKLaboklab(62.92% 0.0332 -0.1779)
OKLCHoklch(62.92% 0.181 280.6)
XYZxyz(30.2463, 23.3590, 86.9022)
Luminance0.2336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7876F2 #F0F276
analogous
#76B2F2 #7876F2 #B676F2
triadic
#7876F2 #F27876 #76F278
tetradic
#7876F2 #F276B2 #F0F276 #76F2B6
square
#7876F2 #F276B2 #F0F276 #76F2B6
split-complementary
#7876F2 #F2B676 #B2F276
monochromatic
#1815D9 #413EED #7876F2 #AFAEF7 #E3E3FC

Accessibility & contrast

On white

3.70
#7876F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#7876F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7876F2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7876F2#FFFFFF#000000##000000
##7876F21.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3689F6
Deuteranopia (green-blind)
#2980EF
Tritanopia (blue-blind)
#4791A9
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7876f2;
/* rgb */ color: rgb(120, 118, 242);
/* oklch */ color: oklch(62.9% 0.181 280.6);
Tailwind
colors: {
  custom: {
    50: '#a79df7',
    500: '#7876f2',
    950: '#000000',
  },
}
SCSS
$custom: #7876f2;
$custom-light: #a79df7;
$custom-dark: #000000;
JSON
{
  "hex": "#7876f2",
  "rgb": {
    "r": 120,
    "g": 118,
    "b": 242
  },
  "hsl": {
    "h": 240.968,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.62915,
    "c": 0.18094,
    "h": 280.6
  },
  "luminance": 0.23361
}

Semantic roles & 50–950 ramp

primary
#7876F2
secondary
#F2F3D1
accent
#DF06DC
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7876F2

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

Preview Lab → · Contrast checker → · Palette generator →

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