#7884F5#7884F5

#7884F5 is a light, vivid blue. Relative luminance 0.271; OKLCH L 65.7% C 0.167 H 276.2°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#7884F5
RGBrgb(120, 132, 245)
HSLhsl(234, 86%, 72%)
HSVhsv(234, 51%, 96%)
CMYKcmyk(51%, 46.1%, 0%, 3.9%)
CIE-LABlab(59.05, 26.03, -58.21)
CIE-LCHlch(59.05, 63.77, 294.09°)
OKLaboklab(65.7% 0.0181 -0.1656)
OKLCHoklch(65.7% 0.167 276.2)
XYZxyz(32.4732, 27.0862, 89.8855)
Luminance0.2709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7884F5 #F5E978
analogous
#78C3F5 #7884F5 #AB78F5
triadic
#7884F5 #F57884 #84F578
tetradic
#7884F5 #F578C3 #F5E978 #78F5AB
square
#7884F5 #F578C3 #F5E978 #78F5AB
split-complementary
#7884F5 #F5AB78 #C3F578
monochromatic
#1125E2 #3F50F1 #7884F5 #B1B8F9 #E3E5FD

Accessibility & contrast

On white

3.27
#7884F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#7884F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7884F5
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7884F5#FFFFFF#000000##000000
##7884F51.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5293F9
Deuteranopia (green-blind)
#4589F3
Tritanopia (blue-blind)
#429DB1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7884f5;
/* rgb */ color: rgb(120, 132, 245);
/* oklch */ color: oklch(65.7% 0.167 276.2);
Tailwind
colors: {
  custom: {
    50: '#a6a7f9',
    500: '#7884f5',
    950: '#000000',
  },
}
SCSS
$custom: #7884f5;
$custom-light: #a6a7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7884f5",
  "rgb": {
    "r": 120,
    "g": 132,
    "b": 245
  },
  "hsl": {
    "h": 234.24,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.65697,
    "c": 0.16662,
    "h": 276.2
  },
  "luminance": 0.27088
}

Semantic roles & 50–950 ramp

primary
#7884F5
secondary
#F4F1D4
accent
#CD03E3
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7884F5

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

Preview Lab → · Contrast checker → · Palette generator →

#7884F5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva