#7E87FD#7E87FD

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

Color values

HEX#7E87FD
RGBrgb(126, 135, 253)
HSLhsl(236, 97%, 74%)
HSVhsv(236, 50%, 99%)
CMYKcmyk(50.2%, 46.6%, 0%, 0.8%)
CIE-LABlab(60.65, 27.96, -60.04)
CIE-LCHlch(60.65, 66.23, 294.97°)
OKLaboklab(67.16% 0.0222 -0.1708)
OKLCHoklch(67.16% 0.172 277.4)
XYZxyz(34.9922, 28.8533, 96.6348)
Luminance0.2885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E87FD #FDF47E
analogous
#7EC7FD #7E87FD #B57EFD
triadic
#7E87FD #FD7E87 #87FD7E
tetradic
#7E87FD #FD7EC7 #FDF47E #7EFDB5
square
#7E87FD #FD7EC7 #FDF47E #7EFDB5
split-complementary
#7E87FD #FDB57E #C7FD7E
monochromatic
#0517FB #424FFC #7E87FD #BABFFE #E1E3FF

Accessibility & contrast

On white

3.10
#7E87FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#7E87FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E87FD
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E87FD#FFFFFF#000000##000000
##7E87FD1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5398FF
Deuteranopia (green-blind)
#468DFA
Tritanopia (blue-blind)
#4AA1B6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7e87fd;
/* rgb */ color: rgb(126, 135, 253);
/* oklch */ color: oklch(67.2% 0.172 277.4);
Tailwind
colors: {
  custom: {
    50: '#aba9ff',
    500: '#7e87fd',
    950: '#000000',
  },
}
SCSS
$custom: #7e87fd;
$custom-light: #aba9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7e87fd",
  "rgb": {
    "r": 126,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 235.748,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.67157,
    "c": 0.17227,
    "h": 277.4
  },
  "luminance": 0.28855
}

Semantic roles & 50–950 ramp

primary
#7E87FD
secondary
#F7F4D4
accent
#D500E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #7E87FD

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

Preview Lab → · Contrast checker → · Palette generator →

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