#7876EA#7876EA

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

Color values

HEX#7876EA
RGBrgb(120, 118, 234)
HSLhsl(241, 73%, 69%)
HSVhsv(241, 50%, 92%)
CMYKcmyk(48.7%, 49.6%, 0%, 8.2%)
CIE-LABlab(54.96, 31.03, -58.66)
CIE-LCHlch(54.96, 66.36, 297.88°)
OKLaboklab(62.4% 0.0326 -0.167)
OKLCHoklch(62.4% 0.17 281)
XYZxyz(29.0709, 22.8889, 80.7121)
Luminance0.2289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7876EA #E8EA76
analogous
#76AEEA #7876EA #B276EA
triadic
#7876EA #EA7876 #76EA78
tetradic
#7876EA #EA76AE #E8EA76 #76EAB2
square
#7876EA #EA76AE #E8EA76 #76EAB2
split-complementary
#7876EA #EAB276 #AEEA76
monochromatic
#211FC7 #4441E2 #7876EA #ACABF2 #E1E0FA

Accessibility & contrast

On white

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

On black

5.58
#7876EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7876EA
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7876EA#FFFFFF#000000##000000
##7876EA1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4088EE
Deuteranopia (green-blind)
#367FE7
Tritanopia (blue-blind)
#4D8FA5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7876ea;
/* rgb */ color: rgb(120, 118, 234);
/* oklch */ color: oklch(62.4% 0.170 281.0);
Tailwind
colors: {
  custom: {
    50: '#a69df1',
    500: '#7876ea',
    950: '#000000',
  },
}
SCSS
$custom: #7876ea;
$custom-light: #a69df1;
$custom-dark: #000000;
JSON
{
  "hex": "#7876ea",
  "rgb": {
    "r": 120,
    "g": 118,
    "b": 234
  },
  "hsl": {
    "h": 241.034,
    "s": 73.418,
    "l": 69.02
  },
  "oklch": {
    "l": 0.62398,
    "c": 0.1702,
    "h": 281
  },
  "luminance": 0.2289
}

Semantic roles & 50–950 ramp

primary
#7876EA
secondary
#EEEFCD
accent
#D610D2
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7876EA

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

Preview Lab → · Contrast checker → · Palette generator →

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