#7C87F1#7C87F1

#7C87F1 is a light, vivid blue. Relative luminance 0.280; OKLCH L 66.3% C 0.156 H 276.8°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7C87F1
RGBrgb(124, 135, 241)
HSLhsl(234, 81%, 72%)
HSVhsv(234, 49%, 95%)
CMYKcmyk(48.5%, 44%, 0%, 5.5%)
CIE-LABlab(59.85, 23.92, -54.71)
CIE-LCHlch(59.85, 59.71, 293.62°)
OKLaboklab(66.3% 0.0185 -0.1552)
OKLCHoklch(66.3% 0.156 276.8)
XYZxyz(32.8484, 27.9620, 86.8684)
Luminance0.2796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C87F1 #F1E67C
analogous
#7CC2F1 #7C87F1 #AC7CF1
triadic
#7C87F1 #F17C87 #87F17C
tetradic
#7C87F1 #F17CC2 #F1E67C #7CF1AC
square
#7C87F1 #F17CC2 #F1E67C #7CF1AC
split-complementary
#7C87F1 #F1AC7C #C2F17C
monochromatic
#172ADB #4554EB #7C87F1 #B3BAF7 #E3E6FC

Accessibility & contrast

On white

3.19
#7C87F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#7C87F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C87F1
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C87F1#FFFFFF#000000##000000
##7C87F11.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B95F5
Deuteranopia (green-blind)
#518CEF
Tritanopia (blue-blind)
#4F9EB0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7c87f1;
/* rgb */ color: rgb(124, 135, 241);
/* oklch */ color: oklch(66.3% 0.156 276.8);
Tailwind
colors: {
  custom: {
    50: '#a8a9f6',
    500: '#7c87f1',
    950: '#000000',
  },
}
SCSS
$custom: #7c87f1;
$custom-light: #a8a9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c87f1",
  "rgb": {
    "r": 124,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 234.359,
    "s": 80.69,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66303,
    "c": 0.15633,
    "h": 276.8
  },
  "luminance": 0.27964
}

Semantic roles & 50–950 ramp

primary
#7C87F1
secondary
#F3F1D5
accent
#C908DD
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7C87F1

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

Preview Lab → · Contrast checker → · Palette generator →

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