#7876F8#7876F8

#7876F8 is a light, vivid blue. Relative luminance 0.237; OKLCH L 63.3% C 0.189 H 280.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7876F8
RGBrgb(120, 118, 248)
HSLhsl(241, 90%, 72%)
HSVhsv(241, 52%, 97%)
CMYKcmyk(51.6%, 52.4%, 0%, 2.7%)
CIE-LABlab(55.81, 35.24, -65.08)
CIE-LCHlch(55.81, 74.00, 298.44°)
OKLaboklab(63.31% 0.0336 -0.1859)
OKLCHoklch(63.31% 0.189 280.2)
XYZxyz(31.1622, 23.7254, 91.7262)
Luminance0.2373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7876F8 #F6F876
analogous
#76B5F8 #7876F8 #B976F8
triadic
#7876F8 #F87876 #76F878
tetradic
#7876F8 #F876B5 #F6F876 #76F8B9
square
#7876F8 #F876B5 #F6F876 #76F8B9
split-complementary
#7876F8 #F8B976 #B5F876
monochromatic
#0F0CE8 #3F3CF5 #7876F8 #B1B0FB #E2E2FE

Accessibility & contrast

On white

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

On black

5.75
#7876F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7876F8
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7876F8#FFFFFF#000000##000000
##7876F81.003.665.755.75
#FFFFFF3.661.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8BFD
Deuteranopia (green-blind)
#1B81F5
Tritanopia (blue-blind)
#4293AC
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7876f8;
/* rgb */ color: rgb(120, 118, 248);
/* oklch */ color: oklch(63.3% 0.189 280.2);
Tailwind
colors: {
  custom: {
    50: '#a79dfb',
    500: '#7876f8',
    950: '#000000',
  },
}
SCSS
$custom: #7876f8;
$custom-light: #a79dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#7876f8",
  "rgb": {
    "r": 120,
    "g": 118,
    "b": 248
  },
  "hsl": {
    "h": 240.923,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.63312,
    "c": 0.1889,
    "h": 280.2
  },
  "luminance": 0.23727
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7876F8

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

Preview Lab → · Contrast checker → · Palette generator →

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