#7876EC#7876EC

#7876EC is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.5% C 0.173 H 280.9°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7876EC
RGBrgb(120, 118, 236)
HSLhsl(241, 76%, 69%)
HSVhsv(241, 50%, 93%)
CMYKcmyk(49.2%, 50%, 0%, 7.5%)
CIE-LABlab(55.08, 31.63, -59.59)
CIE-LCHlch(55.08, 67.46, 297.96°)
OKLaboklab(62.53% 0.0328 -0.1698)
OKLCHoklch(62.53% 0.173 280.9)
XYZxyz(29.3599, 23.0045, 82.2339)
Luminance0.2301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7876EC #EAEC76
analogous
#76AFEC #7876EC #B376EC
triadic
#7876EC #EC7876 #76EC78
tetradic
#7876EC #EC76AF #EAEC76 #76ECB3
square
#7876EC #EC76AF #EAEC76 #76ECB3
split-complementary
#7876EC #ECB376 #AFEC76
monochromatic
#1F1CCB #4340E5 #7876EC #ADACF3 #E2E1FB

Accessibility & contrast

On white

3.75
#7876EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#7876EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7876EC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7876EC#FFFFFF#000000##000000
##7876EC1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E88F0
Deuteranopia (green-blind)
#3380E9
Tritanopia (blue-blind)
#4C90A6
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7876ec;
/* rgb */ color: rgb(120, 118, 236);
/* oklch */ color: oklch(62.5% 0.173 280.9);
Tailwind
colors: {
  custom: {
    50: '#a69df3',
    500: '#7876ec',
    950: '#000000',
  },
}
SCSS
$custom: #7876ec;
$custom-light: #a69df3;
$custom-dark: #000000;
JSON
{
  "hex": "#7876ec",
  "rgb": {
    "r": 120,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 241.017,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.62526,
    "c": 0.1729,
    "h": 280.9
  },
  "luminance": 0.23006
}

Semantic roles & 50–950 ramp

primary
#7876EC
secondary
#EFF0CE
accent
#D80ED4
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7876EC

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

Preview Lab → · Contrast checker → · Palette generator →

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