#7E87DA#7E87DA

#7E87DA is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.2% C 0.124 H 277.7°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#7E87DA
RGBrgb(126, 135, 218)
HSLhsl(234, 55%, 67%)
HSVhsv(234, 42%, 85%)
CMYKcmyk(42.2%, 38.1%, 0%, 14.5%)
CIE-LABlab(58.81, 17.66, -43.56)
CIE-LCHlch(58.81, 47.01, 292.07°)
OKLaboklab(65.16% 0.0165 -0.1226)
OKLCHoklch(65.16% 0.124 277.7)
XYZxyz(29.9193, 26.8241, 69.9172)
Luminance0.2683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E87DA #DAD17E
analogous
#7EB5DA #7E87DA #A37EDA
triadic
#7E87DA #DA7E87 #87DA7E
tetradic
#7E87DA #DA7EB5 #DAD17E #7EDAA3
square
#7E87DA #DA7EB5 #DAD17E #7EDAA3
split-complementary
#7E87DA #DAA37E #B5DA7E
monochromatic
#313DAC #4E5BCC #7E87DA #AEB3E8 #DDDFF5

Accessibility & contrast

On white

3.30
#7E87DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#7E87DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E87DA
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E87DA#FFFFFF#000000##000000
##7E87DA1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A91DD
Deuteranopia (green-blind)
#638AD8
Tritanopia (blue-blind)
#6098A6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7e87da;
/* rgb */ color: rgb(126, 135, 218);
/* oklch */ color: oklch(65.2% 0.124 277.7);
Tailwind
colors: {
  custom: {
    50: '#a7a9e6',
    500: '#7e87da',
    950: '#000000',
  },
}
SCSS
$custom: #7e87da;
$custom-light: #a7a9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e87da",
  "rgb": {
    "r": 126,
    "g": 135,
    "b": 218
  },
  "hsl": {
    "h": 234.13,
    "s": 55.422,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65156,
    "c": 0.12372,
    "h": 277.7
  },
  "luminance": 0.26826
}

Semantic roles & 50–950 ramp

primary
#7E87DA
secondary
#E8E5CC
accent
#B323C3
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #7E87DA

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

Preview Lab → · Contrast checker → · Palette generator →

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