#7E87F0#7E87F0

#7E87F0 is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.4% C 0.155 H 277.6°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7E87F0
RGBrgb(126, 135, 240)
HSLhsl(235, 79%, 72%)
HSVhsv(235, 48%, 94%)
CMYKcmyk(47.5%, 43.8%, 0%, 5.9%)
CIE-LABlab(59.94, 24.08, -54.02)
CIE-LCHlch(59.94, 59.14, 294.02°)
OKLaboklab(66.38% 0.0205 -0.1532)
OKLCHoklch(66.38% 0.155 277.6)
XYZxyz(32.9915, 28.0530, 86.0975)
Luminance0.2806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E87F0 #F0E77E
analogous
#7EC0F0 #7E87F0 #AE7EF0
triadic
#7E87F0 #F07E87 #87F07E
tetradic
#7E87F0 #F07EC0 #F0E77E #7EF0AE
square
#7E87F0 #F07EC0 #F0E77E #7EF0AE
split-complementary
#7E87F0 #F0AE7E #C0F07E
monochromatic
#1929DA #4754EA #7E87F0 #B5BAF6 #E4E6FC

Accessibility & contrast

On white

3.18
#7E87F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#7E87F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E87F0
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E87F0#FFFFFF#000000##000000
##7E87F01.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D95F4
Deuteranopia (green-blind)
#538CEE
Tritanopia (blue-blind)
#539DB0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7e87f0;
/* rgb */ color: rgb(126, 135, 240);
/* oklch */ color: oklch(66.4% 0.155 277.6);
Tailwind
colors: {
  custom: {
    50: '#a9a9f5',
    500: '#7e87f0',
    950: '#000000',
  },
}
SCSS
$custom: #7e87f0;
$custom-light: #a9a9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e87f0",
  "rgb": {
    "r": 126,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 235.263,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66383,
    "c": 0.15452,
    "h": 277.6
  },
  "luminance": 0.28055
}

Semantic roles & 50–950 ramp

primary
#7E87F0
secondary
#F3F1D6
accent
#CB0ADB
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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