#7876EB#7876EB

#7876EB is a light, vivid blue. Relative luminance 0.229; OKLCH L 62.5% C 0.172 H 281.0°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7876EB
RGBrgb(120, 118, 235)
HSLhsl(241, 75%, 69%)
HSVhsv(241, 50%, 92%)
CMYKcmyk(48.9%, 49.8%, 0%, 7.8%)
CIE-LABlab(55.02, 31.33, -59.13)
CIE-LCHlch(55.02, 66.91, 297.92°)
OKLaboklab(62.46% 0.0327 -0.1684)
OKLCHoklch(62.46% 0.172 281)
XYZxyz(29.2150, 22.9465, 81.4709)
Luminance0.2295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7876EB #E9EB76
analogous
#76AFEB #7876EB #B376EB
triadic
#7876EB #EB7876 #76EB78
tetradic
#7876EB #EB76AF #E9EB76 #76EBB3
square
#7876EB #EB76AF #E9EB76 #76EBB3
split-complementary
#7876EB #EBB376 #AFEB76
monochromatic
#201DC9 #4341E3 #7876EB #ADABF3 #E1E1FB

Accessibility & contrast

On white

3.76
#7876EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#7876EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7876EB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7876EB#FFFFFF#000000##000000
##7876EB1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F88EF
Deuteranopia (green-blind)
#357FE8
Tritanopia (blue-blind)
#4D8FA5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7876eb;
/* rgb */ color: rgb(120, 118, 235);
/* oklch */ color: oklch(62.5% 0.172 281.0);
Tailwind
colors: {
  custom: {
    50: '#a69df2',
    500: '#7876eb',
    950: '#000000',
  },
}
SCSS
$custom: #7876eb;
$custom-light: #a69df2;
$custom-dark: #000000;
JSON
{
  "hex": "#7876eb",
  "rgb": {
    "r": 120,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 241.026,
    "s": 74.522,
    "l": 69.216
  },
  "oklch": {
    "l": 0.62462,
    "c": 0.17155,
    "h": 281
  },
  "luminance": 0.22948
}

Semantic roles & 50–950 ramp

primary
#7876EB
secondary
#EFEFCD
accent
#D70FD3
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7876EB

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

Preview Lab → · Contrast checker → · Palette generator →

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