#7888FA#7888FA

#7888FA is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.8% C 0.168 H 274.9°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7888FA
RGBrgb(120, 136, 250)
HSLhsl(233, 93%, 73%)
HSVhsv(233, 52%, 98%)
CMYKcmyk(52%, 45.6%, 0%, 2%)
CIE-LABlab(60.34, 25.19, -58.92)
CIE-LCHlch(60.34, 64.08, 293.15°)
OKLaboklab(66.76% 0.0143 -0.1677)
OKLCHoklch(66.76% 0.168 274.9)
XYZxyz(33.7997, 28.5013, 94.1442)
Luminance0.2850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7888FA #FAEA78
analogous
#78C9FA #7888FA #A978FA
triadic
#7888FA #FA7888 #88FA78
tetradic
#7888FA #FA78C9 #FAEA78 #78FAA9
square
#7888FA #FA78C9 #FAEA78 #78FAA9
split-complementary
#7888FA #FAA978 #C9FA78
monochromatic
#0925EF #3D54F8 #7888FA #B3BCFC #E1E5FE

Accessibility & contrast

On white

3.13
#7888FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#7888FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7888FA
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7888FA#FFFFFF#000000##000000
##7888FA1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5597FE
Deuteranopia (green-blind)
#478CF8
Tritanopia (blue-blind)
#3DA1B5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7888fa;
/* rgb */ color: rgb(120, 136, 250);
/* oklch */ color: oklch(66.8% 0.168 274.9);
Tailwind
colors: {
  custom: {
    50: '#a7aafc',
    500: '#7888fa',
    950: '#000000',
  },
}
SCSS
$custom: #7888fa;
$custom-light: #a7aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#7888fa",
  "rgb": {
    "r": 120,
    "g": 136,
    "b": 250
  },
  "hsl": {
    "h": 232.615,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.66764,
    "c": 0.16827,
    "h": 274.9
  },
  "luminance": 0.28504
}

Semantic roles & 50–950 ramp

primary
#7888FA
secondary
#F6F2D5
accent
#C900E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #7888FA

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

Preview Lab → · Contrast checker → · Palette generator →

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