#7C87F4#7C87F4

#7C87F4 is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.5% C 0.160 H 276.8°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#7C87F4
RGBrgb(124, 135, 244)
HSLhsl(235, 85%, 72%)
HSVhsv(235, 49%, 96%)
CMYKcmyk(49.2%, 44.7%, 0%, 4.3%)
CIE-LABlab(60.02, 24.82, -56.11)
CIE-LCHlch(60.02, 61.35, 293.87°)
OKLaboklab(66.48% 0.0189 -0.1593)
OKLCHoklch(66.48% 0.16 276.8)
XYZxyz(33.3002, 28.1427, 89.2478)
Luminance0.2814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C87F4 #F4E97C
analogous
#7CC3F4 #7C87F4 #AD7CF4
triadic
#7C87F4 #F47C87 #87F47C
tetradic
#7C87F4 #F47CC3 #F4E97C #7CF4AD
square
#7C87F4 #F47CC3 #F4E97C #7CF4AD
split-complementary
#7C87F4 #F4AD7C #C3F47C
monochromatic
#1326E3 #4453EF #7C87F4 #B4BBF9 #E3E5FD

Accessibility & contrast

On white

3.17
#7C87F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#7C87F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C87F4
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C87F4#FFFFFF#000000##000000
##7C87F41.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5996F8
Deuteranopia (green-blind)
#4E8CF2
Tritanopia (blue-blind)
#4C9EB2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7c87f4;
/* rgb */ color: rgb(124, 135, 244);
/* oklch */ color: oklch(66.5% 0.160 276.8);
Tailwind
colors: {
  custom: {
    50: '#a9a9f8',
    500: '#7c87f4',
    950: '#000000',
  },
}
SCSS
$custom: #7c87f4;
$custom-light: #a9a9f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c87f4",
  "rgb": {
    "r": 124,
    "g": 135,
    "b": 244
  },
  "hsl": {
    "h": 234.5,
    "s": 84.507,
    "l": 72.157
  },
  "oklch": {
    "l": 0.6648,
    "c": 0.16045,
    "h": 276.8
  },
  "luminance": 0.28145
}

Semantic roles & 50–950 ramp

primary
#7C87F4
secondary
#F5F2D6
accent
#CD05E1
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7C87F4

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

Preview Lab → · Contrast checker → · Palette generator →

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