#7C87EA#7C87EA

#7C87EA is a light, vivid blue. Relative luminance 0.276; OKLCH L 65.9% C 0.147 H 276.8°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7C87EA
RGBrgb(124, 135, 234)
HSLhsl(234, 72%, 70%)
HSVhsv(234, 47%, 92%)
CMYKcmyk(47%, 42.3%, 0%, 8.2%)
CIE-LABlab(59.48, 21.84, -51.43)
CIE-LCHlch(59.48, 55.87, 293.01°)
OKLaboklab(65.9% 0.0174 -0.1456)
OKLCHoklch(65.9% 0.147 276.8)
XYZxyz(31.8229, 27.5518, 81.4672)
Luminance0.2755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C87EA #EADF7C
analogous
#7CBEEA #7C87EA #A87CEA
triadic
#7C87EA #EA7C87 #87EA7C
tetradic
#7C87EA #EA7CBE #EADF7C #7CEAA8
square
#7C87EA #EA7CBE #EADF7C #7CEAA8
split-complementary
#7C87EA #EAA87C #BEEA7C
monochromatic
#2132CB #4757E2 #7C87EA #B1B7F2 #E5E7FB

Accessibility & contrast

On white

3.23
#7C87EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#7C87EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C87EA
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C87EA#FFFFFF#000000##000000
##7C87EA1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EE
Deuteranopia (green-blind)
#578BE8
Tritanopia (blue-blind)
#539CAD
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7c87ea;
/* rgb */ color: rgb(124, 135, 234);
/* oklch */ color: oklch(65.9% 0.147 276.8);
Tailwind
colors: {
  custom: {
    50: '#a7a9f1',
    500: '#7c87ea',
    950: '#000000',
  },
}
SCSS
$custom: #7c87ea;
$custom-light: #a7a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c87ea",
  "rgb": {
    "r": 124,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 234,
    "s": 72.368,
    "l": 70.196
  },
  "oklch": {
    "l": 0.65898,
    "c": 0.14665,
    "h": 276.8
  },
  "luminance": 0.27554
}

Semantic roles & 50–950 ramp

primary
#7C87EA
secondary
#F0EDD2
accent
#C111D4
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7C87EA

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

Preview Lab → · Contrast checker → · Palette generator →

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