#7884F8#7884F8

#7884F8 is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.9% C 0.171 H 276.2°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7884F8
RGBrgb(120, 132, 248)
HSLhsl(234, 90%, 72%)
HSVhsv(234, 52%, 97%)
CMYKcmyk(51.6%, 46.8%, 0%, 2.7%)
CIE-LABlab(59.22, 26.95, -59.60)
CIE-LCHlch(59.22, 65.41, 294.33°)
OKLaboklab(65.88% 0.0185 -0.1697)
OKLCHoklch(65.88% 0.171 276.2)
XYZxyz(32.9349, 27.2708, 92.3171)
Luminance0.2727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7884F8 #F8EC78
analogous
#78C4F8 #7884F8 #AC78F8
triadic
#7884F8 #F87884 #84F878
tetradic
#7884F8 #F878C4 #F8EC78 #78F8AC
square
#7884F8 #F878C4 #F8EC78 #78F8AC
split-complementary
#7884F8 #F8AC78 #C4F878
monochromatic
#0C21E9 #3E4FF5 #7884F8 #B2B9FB #E2E4FD

Accessibility & contrast

On white

3.25
#7884F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#7884F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7884F8
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7884F8#FFFFFF#000000##000000
##7884F81.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F94FC
Deuteranopia (green-blind)
#418AF5
Tritanopia (blue-blind)
#3F9DB2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7884f8;
/* rgb */ color: rgb(120, 132, 248);
/* oklch */ color: oklch(65.9% 0.171 276.2);
Tailwind
colors: {
  custom: {
    50: '#a7a7fb',
    500: '#7884f8',
    950: '#000000',
  },
}
SCSS
$custom: #7884f8;
$custom-light: #a7a7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7884f8",
  "rgb": {
    "r": 120,
    "g": 132,
    "b": 248
  },
  "hsl": {
    "h": 234.375,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.65881,
    "c": 0.17069,
    "h": 276.2
  },
  "luminance": 0.27273
}

Semantic roles & 50–950 ramp

primary
#7884F8
secondary
#F6F3D5
accent
#D000E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7884F8

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

Preview Lab → · Contrast checker → · Palette generator →

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