#7876FA#7876FA

#7876FA is a light, vivid blue. Relative luminance 0.239; OKLCH L 63.4% C 0.192 H 280.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7876FA
RGBrgb(120, 118, 250)
HSLhsl(241, 93%, 72%)
HSVhsv(241, 53%, 98%)
CMYKcmyk(52%, 52.8%, 0%, 2%)
CIE-LABlab(55.94, 35.84, -65.98)
CIE-LCHlch(55.94, 75.09, 298.51°)
OKLaboklab(63.45% 0.0337 -0.1886)
OKLCHoklch(63.45% 0.192 280.1)
XYZxyz(31.4741, 23.8502, 93.3690)
Luminance0.2385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7876FA #F8FA76
analogous
#76B6FA #7876FA #BA76FA
triadic
#7876FA #FA7876 #76FA78
tetradic
#7876FA #FA76B6 #F8FA76 #76FABA
square
#7876FA #FA76B6 #F8FA76 #76FABA
split-complementary
#7876FA #FABA76 #B6FA76
monochromatic
#0C09ED #3E3BF8 #7876FA #B2B1FC #E2E1FE

Accessibility & contrast

On white

3.64
#7876FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#7876FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7876FA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7876FA#FFFFFF#000000##000000
##7876FA1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A8BFF
Deuteranopia (green-blind)
#1481F7
Tritanopia (blue-blind)
#4094AD
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7876fa;
/* rgb */ color: rgb(120, 118, 250);
/* oklch */ color: oklch(63.4% 0.192 280.1);
Tailwind
colors: {
  custom: {
    50: '#a89dfd',
    500: '#7876fa',
    950: '#000000',
  },
}
SCSS
$custom: #7876fa;
$custom-light: #a89dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#7876fa",
  "rgb": {
    "r": 120,
    "g": 118,
    "b": 250
  },
  "hsl": {
    "h": 240.909,
    "s": 92.958,
    "l": 72.157
  },
  "oklch": {
    "l": 0.63446,
    "c": 0.19154,
    "h": 280.1
  },
  "luminance": 0.23852
}

Semantic roles & 50–950 ramp

primary
#7876FA
secondary
#F6F6D5
accent
#E600E2
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #7876FA

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

Preview Lab → · Contrast checker → · Palette generator →

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