#7884FE#7884FE

#7884FE is a light, vivid blue. Relative luminance 0.277; OKLCH L 66.3% C 0.179 H 276.1°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7884FE
RGBrgb(120, 132, 254)
HSLhsl(235, 99%, 73%)
HSVhsv(235, 53%, 100%)
CMYKcmyk(52.8%, 48%, 0%, 0.4%)
CIE-LABlab(59.57, 28.79, -62.35)
CIE-LCHlch(59.57, 68.67, 294.78°)
OKLaboklab(66.26% 0.0191 -0.1778)
OKLCHoklch(66.26% 0.179 276.1)
XYZxyz(33.8807, 27.6491, 97.2982)
Luminance0.2765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7884FE #FEF278
analogous
#78C7FE #7884FE #AF78FE
triadic
#7884FE #FE7884 #84FE78
tetradic
#7884FE #FE78C7 #FEF278 #78FEAF
square
#7884FE #FE78C7 #FEF278 #78FEAF
split-complementary
#7884FE #FEAF78 #C7FE78
monochromatic
#0218FA #3B4DFE #7884FE #B5BBFE #E1E3FF

Accessibility & contrast

On white

3.22
#7884FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#7884FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7884FE
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7884FE#FFFFFF#000000##000000
##7884FE1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A95FF
Deuteranopia (green-blind)
#3A8AFB
Tritanopia (blue-blind)
#399FB5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7884fe;
/* rgb */ color: rgb(120, 132, 254);
/* oklch */ color: oklch(66.3% 0.179 276.1);
Tailwind
colors: {
  custom: {
    50: '#a8a7ff',
    500: '#7884fe',
    950: '#000000',
  },
}
SCSS
$custom: #7884fe;
$custom-light: #a8a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7884fe",
  "rgb": {
    "r": 120,
    "g": 132,
    "b": 254
  },
  "hsl": {
    "h": 234.627,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.66255,
    "c": 0.17879,
    "h": 276.1
  },
  "luminance": 0.27651
}

Semantic roles & 50–950 ramp

primary
#7884FE
secondary
#F7F4D4
accent
#D100E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #7884FE

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

Preview Lab → · Contrast checker → · Palette generator →

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