#7E87FC#7E87FC

#7E87FC is a light, vivid blue. Relative luminance 0.288; OKLCH L 67.1% C 0.171 H 277.4°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7E87FC
RGBrgb(126, 135, 252)
HSLhsl(236, 95%, 74%)
HSVhsv(236, 50%, 99%)
CMYKcmyk(50%, 46.4%, 0%, 1.2%)
CIE-LABlab(60.60, 27.66, -59.58)
CIE-LCHlch(60.60, 65.69, 294.90°)
OKLaboklab(67.1% 0.0221 -0.1695)
OKLCHoklch(67.1% 0.171 277.4)
XYZxyz(34.8334, 28.7898, 95.7981)
Luminance0.2879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E87FC #FCF37E
analogous
#7EC6FC #7E87FC #B47EFC
triadic
#7E87FC #FC7E87 #87FC7E
tetradic
#7E87FC #FC7EC6 #FCF37E #7EFCB4
square
#7E87FC #FC7EC6 #FCF37E #7EFCB4
split-complementary
#7E87FC #FCB47E #C6FC7E
monochromatic
#0618F9 #424FFB #7E87FC #BABFFD #E1E3FE

Accessibility & contrast

On white

3.11
#7E87FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#7E87FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E87FC
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E87FC#FFFFFF#000000##000000
##7E87FC1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5397FF
Deuteranopia (green-blind)
#478DF9
Tritanopia (blue-blind)
#4AA0B5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7e87fc;
/* rgb */ color: rgb(126, 135, 252);
/* oklch */ color: oklch(67.1% 0.171 277.4);
Tailwind
colors: {
  custom: {
    50: '#aba9fe',
    500: '#7e87fc',
    950: '#000000',
  },
}
SCSS
$custom: #7e87fc;
$custom-light: #aba9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7e87fc",
  "rgb": {
    "r": 126,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 235.714,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.67096,
    "c": 0.17091,
    "h": 277.4
  },
  "luminance": 0.28792
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E87FC

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

Preview Lab → · Contrast checker → · Palette generator →

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