#7C87F8#7C87F8

#7C87F8 is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.7% C 0.166 H 276.7°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7C87F8
RGBrgb(124, 135, 248)
HSLhsl(235, 90%, 73%)
HSVhsv(235, 50%, 97%)
CMYKcmyk(50%, 45.6%, 0%, 2.7%)
CIE-LABlab(60.24, 26.03, -57.96)
CIE-LCHlch(60.24, 63.54, 294.18°)
OKLaboklab(66.72% 0.0194 -0.1648)
OKLCHoklch(66.72% 0.166 276.7)
XYZxyz(33.9141, 28.3883, 92.4812)
Luminance0.2839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C87F8 #F8ED7C
analogous
#7CC5F8 #7C87F8 #AF7CF8
triadic
#7C87F8 #F87C87 #87F87C
tetradic
#7C87F8 #F87CC5 #F8ED7C #7CF8AF
square
#7C87F8 #F87CC5 #F8ED7C #7CF8AF
split-complementary
#7C87F8 #F8AF7C #C5F87C
monochromatic
#0D21ED #4252F5 #7C87F8 #B6BCFB #E2E4FD

Accessibility & contrast

On white

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

On black

6.68
#7C87F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C87F8
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C87F8#FFFFFF#000000##000000
##7C87F81.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5696FC
Deuteranopia (green-blind)
#4A8CF6
Tritanopia (blue-blind)
#499FB4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7c87f8;
/* rgb */ color: rgb(124, 135, 248);
/* oklch */ color: oklch(66.7% 0.166 276.7);
Tailwind
colors: {
  custom: {
    50: '#a9a9fb',
    500: '#7c87f8',
    950: '#000000',
  },
}
SCSS
$custom: #7c87f8;
$custom-light: #a9a9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c87f8",
  "rgb": {
    "r": 124,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 234.677,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.66719,
    "c": 0.16591,
    "h": 276.7
  },
  "luminance": 0.2839
}

Semantic roles & 50–950 ramp

primary
#7C87F8
secondary
#F6F3D5
accent
#D100E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C87F8

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

Preview Lab → · Contrast checker → · Palette generator →

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