#7C87F0#7C87F0

#7C87F0 is a light, vivid blue. Relative luminance 0.279; OKLCH L 66.2% C 0.155 H 276.8°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#7C87F0
RGBrgb(124, 135, 240)
HSLhsl(234, 79%, 71%)
HSVhsv(234, 48%, 94%)
CMYKcmyk(48.3%, 43.8%, 0%, 5.9%)
CIE-LABlab(59.80, 23.63, -54.24)
CIE-LCHlch(59.80, 59.17, 293.53°)
OKLaboklab(66.24% 0.0183 -0.1539)
OKLCHoklch(66.24% 0.155 276.8)
XYZxyz(32.6994, 27.9024, 86.0839)
Luminance0.2790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C87F0 #F0E57C
analogous
#7CC1F0 #7C87F0 #AB7CF0
triadic
#7C87F0 #F07C87 #87F07C
tetradic
#7C87F0 #F07CC1 #F0E57C #7CF0AB
square
#7C87F0 #F07CC1 #F0E57C #7CF0AB
split-complementary
#7C87F0 #F0AB7C #C1F07C
monochromatic
#192BD9 #4555EA #7C87F0 #B3B9F6 #E4E6FC

Accessibility & contrast

On white

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

On black

6.58
#7C87F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C87F0
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C87F0#FFFFFF#000000##000000
##7C87F01.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C95F4
Deuteranopia (green-blind)
#528CEE
Tritanopia (blue-blind)
#4F9DB0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7c87f0;
/* rgb */ color: rgb(124, 135, 240);
/* oklch */ color: oklch(66.2% 0.155 276.8);
Tailwind
colors: {
  custom: {
    50: '#a8a9f5',
    500: '#7c87f0',
    950: '#000000',
  },
}
SCSS
$custom: #7c87f0;
$custom-light: #a8a9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c87f0",
  "rgb": {
    "r": 124,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 234.31,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66244,
    "c": 0.15496,
    "h": 276.8
  },
  "luminance": 0.27904
}

Semantic roles & 50–950 ramp

primary
#7C87F0
secondary
#F3F0D5
accent
#C80ADC
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7C87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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