#7C87F9#7C87F9

#7C87F9 is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.8% C 0.167 H 276.7°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#7C87F9
RGBrgb(124, 135, 249)
HSLhsl(235, 91%, 73%)
HSVhsv(235, 50%, 98%)
CMYKcmyk(50.2%, 45.8%, 0%, 2.4%)
CIE-LABlab(60.29, 26.33, -58.42)
CIE-LCHlch(60.29, 64.08, 294.26°)
OKLaboklab(66.78% 0.0196 -0.1661)
OKLCHoklch(66.78% 0.167 276.7)
XYZxyz(34.0697, 28.4505, 93.3004)
Luminance0.2845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C87F9 #F9EE7C
analogous
#7CC5F9 #7C87F9 #AF7CF9
triadic
#7C87F9 #F97C87 #87F97C
tetradic
#7C87F9 #F97CC5 #F9EE7C #7CF9AF
square
#7C87F9 #F97CC5 #F9EE7C #7CF9AF
split-complementary
#7C87F9 #F9AF7C #C5F97C
monochromatic
#0B1FF0 #4151F6 #7C87F9 #B7BDFC #E2E4FE

Accessibility & contrast

On white

3.14
#7C87F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#7C87F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C87F9
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C87F9#FFFFFF#000000##000000
##7C87F91.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5597FD
Deuteranopia (green-blind)
#498DF7
Tritanopia (blue-blind)
#48A0B4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7c87f9;
/* rgb */ color: rgb(124, 135, 249);
/* oklch */ color: oklch(66.8% 0.167 276.7);
Tailwind
colors: {
  custom: {
    50: '#a9a9fc',
    500: '#7c87f9',
    950: '#000000',
  },
}
SCSS
$custom: #7c87f9;
$custom-light: #a9a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c87f9",
  "rgb": {
    "r": 124,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 234.72,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.66779,
    "c": 0.16728,
    "h": 276.7
  },
  "luminance": 0.28453
}

Semantic roles & 50–950 ramp

primary
#7C87F9
secondary
#F6F3D5
accent
#D100E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C87F9

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

Preview Lab → · Contrast checker → · Palette generator →

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