#7886FE#7886FE

#7886FE is a light, vivid blue. Relative luminance 0.282; OKLCH L 66.6% C 0.176 H 275.5°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7886FE
RGBrgb(120, 134, 254)
HSLhsl(234, 99%, 73%)
HSVhsv(234, 53%, 100%)
CMYKcmyk(52.8%, 47.2%, 0%, 0.4%)
CIE-LABlab(60.07, 27.60, -61.55)
CIE-LCHlch(60.07, 67.46, 294.15°)
OKLaboklab(66.63% 0.017 -0.1754)
OKLCHoklch(66.63% 0.176 275.5)
XYZxyz(34.1545, 28.1968, 97.3895)
Luminance0.2820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7886FE #FEF078
analogous
#78C9FE #7886FE #AD78FE
triadic
#7886FE #FE7886 #86FE78
tetradic
#7886FE #FE78C9 #FEF078 #78FEAD
square
#7886FE #FE78C9 #FEF078 #78FEAD
split-complementary
#7886FE #FEAD78 #C9FE78
monochromatic
#021CFA #3B50FE #7886FE #B5BCFE #E1E4FF

Accessibility & contrast

On white

3.16
#7886FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#7886FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7886FE
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7886FE#FFFFFF#000000##000000
##7886FE1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E97FF
Deuteranopia (green-blind)
#3E8BFB
Tritanopia (blue-blind)
#39A0B6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7886fe;
/* rgb */ color: rgb(120, 134, 254);
/* oklch */ color: oklch(66.6% 0.176 275.5);
Tailwind
colors: {
  custom: {
    50: '#a7a9ff',
    500: '#7886fe',
    950: '#000000',
  },
}
SCSS
$custom: #7886fe;
$custom-light: #a7a9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7886fe",
  "rgb": {
    "r": 120,
    "g": 134,
    "b": 254
  },
  "hsl": {
    "h": 233.731,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.6663,
    "c": 0.17623,
    "h": 275.5
  },
  "luminance": 0.28199
}

Semantic roles & 50–950 ramp

primary
#7886FE
secondary
#F7F3D4
accent
#CE00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #7886FE

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

Preview Lab → · Contrast checker → · Palette generator →

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