#7E88FA#7E88FA

#7E88FA is a light, vivid blue. Relative luminance 0.289; OKLCH L 67.2% C 0.167 H 277.1°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#7E88FA
RGBrgb(126, 136, 250)
HSLhsl(235, 93%, 74%)
HSVhsv(235, 50%, 98%)
CMYKcmyk(49.6%, 45.6%, 0%, 2%)
CIE-LABlab(60.73, 26.47, -58.27)
CIE-LCHlch(60.73, 64.00, 294.43°)
OKLaboklab(67.16% 0.0207 -0.1656)
OKLCHoklch(67.16% 0.167 277.1)
XYZxyz(34.6583, 28.9440, 94.1844)
Luminance0.2895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E88FA #FAF07E
analogous
#7EC6FA #7E88FA #B27EFA
triadic
#7E88FA #FA7E88 #88FA7E
tetradic
#7E88FA #FA7EC6 #FAF07E #7EFAB2
square
#7E88FA #FA7EC6 #FAF07E #7EFAB2
split-complementary
#7E88FA #FAB27E #C6FA7E
monochromatic
#091CF4 #4352F8 #7E88FA #B9BEFC #E2E4FE

Accessibility & contrast

On white

3.09
#7E88FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#7E88FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E88FA
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E88FA#FFFFFF#000000##000000
##7E88FA1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5798FE
Deuteranopia (green-blind)
#4B8EF7
Tritanopia (blue-blind)
#4CA0B5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7e88fa;
/* rgb */ color: rgb(126, 136, 250);
/* oklch */ color: oklch(67.2% 0.167 277.1);
Tailwind
colors: {
  custom: {
    50: '#aaaafc',
    500: '#7e88fa',
    950: '#000000',
  },
}
SCSS
$custom: #7e88fa;
$custom-light: #aaaafc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e88fa",
  "rgb": {
    "r": 126,
    "g": 136,
    "b": 250
  },
  "hsl": {
    "h": 235.161,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.67164,
    "c": 0.1669,
    "h": 277.1
  },
  "luminance": 0.28946
}

Semantic roles & 50–950 ramp

primary
#7E88FA
secondary
#F6F3D5
accent
#D300E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111018
muted
#807F86

Preview Lab

Preview with #7E88FA

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

Preview Lab → · Contrast checker → · Palette generator →

#7E88FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva