#7E87F3#7E87F3

#7E87F3 is a light, vivid blue. Relative luminance 0.282; OKLCH L 66.6% C 0.159 H 277.6°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7E87F3
RGBrgb(126, 135, 243)
HSLhsl(235, 83%, 72%)
HSVhsv(235, 48%, 95%)
CMYKcmyk(48.1%, 44.4%, 0%, 4.7%)
CIE-LABlab(60.10, 24.97, -55.42)
CIE-LCHlch(60.10, 60.78, 294.25°)
OKLaboklab(66.56% 0.0209 -0.1573)
OKLCHoklch(66.56% 0.159 277.6)
XYZxyz(33.4408, 28.2328, 88.4640)
Luminance0.2823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E87F3 #F3EA7E
analogous
#7EC1F3 #7E87F3 #B07EF3
triadic
#7E87F3 #F37E87 #87F37E
tetradic
#7E87F3 #F37EC1 #F3EA7E #7EF3B0
square
#7E87F3 #F37EC1 #F3EA7E #7EF3B0
split-complementary
#7E87F3 #F3B07E #C1F37E
monochromatic
#1525E2 #4653EE #7E87F3 #B6BBF8 #E3E5FC

Accessibility & contrast

On white

3.16
#7E87F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#7E87F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E87F3
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E87F3#FFFFFF#000000##000000
##7E87F31.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A96F7
Deuteranopia (green-blind)
#508CF1
Tritanopia (blue-blind)
#519EB1
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7e87f3;
/* rgb */ color: rgb(126, 135, 243);
/* oklch */ color: oklch(66.6% 0.159 277.6);
Tailwind
colors: {
  custom: {
    50: '#aaa9f7',
    500: '#7e87f3',
    950: '#000000',
  },
}
SCSS
$custom: #7e87f3;
$custom-light: #aaa9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e87f3",
  "rgb": {
    "r": 126,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 235.385,
    "s": 82.979,
    "l": 72.353
  },
  "oklch": {
    "l": 0.66558,
    "c": 0.15865,
    "h": 277.6
  },
  "luminance": 0.28235
}

Semantic roles & 50–950 ramp

primary
#7E87F3
secondary
#F4F2D7
accent
#CF06DF
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E87F3

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

Preview Lab → · Contrast checker → · Palette generator →

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