#7C87F6#7C87F6

#7C87F6 is a light, vivid blue. Relative luminance 0.283; OKLCH L 66.6% C 0.163 H 276.7°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7C87F6
RGBrgb(124, 135, 246)
HSLhsl(235, 87%, 73%)
HSVhsv(235, 50%, 96%)
CMYKcmyk(49.6%, 45.1%, 0%, 3.5%)
CIE-LABlab(60.13, 25.42, -57.04)
CIE-LCHlch(60.13, 62.45, 294.02°)
OKLaboklab(66.6% 0.0192 -0.1621)
OKLCHoklch(66.6% 0.163 276.7)
XYZxyz(33.6055, 28.2649, 90.8558)
Luminance0.2827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C87F6 #F6EB7C
analogous
#7CC4F6 #7C87F6 #AE7CF6
triadic
#7C87F6 #F67C87 #87F67C
tetradic
#7C87F6 #F67CC4 #F6EB7C #7CF6AE
square
#7C87F6 #F67CC4 #F6EB7C #7CF6AE
split-complementary
#7C87F6 #F6AE7C #C4F67C
monochromatic
#1023E8 #4353F2 #7C87F6 #B5BBFA #E2E5FD

Accessibility & contrast

On white

3.16
#7C87F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#7C87F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C87F6
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C87F6#FFFFFF#000000##000000
##7C87F61.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5896FA
Deuteranopia (green-blind)
#4C8CF4
Tritanopia (blue-blind)
#4B9FB3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7c87f6;
/* rgb */ color: rgb(124, 135, 246);
/* oklch */ color: oklch(66.6% 0.163 276.7);
Tailwind
colors: {
  custom: {
    50: '#a9a9fa',
    500: '#7c87f6',
    950: '#000000',
  },
}
SCSS
$custom: #7c87f6;
$custom-light: #a9a9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7c87f6",
  "rgb": {
    "r": 124,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 234.59,
    "s": 87.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.66599,
    "c": 0.16319,
    "h": 276.7
  },
  "luminance": 0.28267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C87F6

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

Preview Lab → · Contrast checker → · Palette generator →

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