#7C87F5#7C87F5

#7C87F5 is a light, vivid blue. Relative luminance 0.282; OKLCH L 66.5% C 0.162 H 276.8°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7C87F5
RGBrgb(124, 135, 245)
HSLhsl(235, 86%, 72%)
HSVhsv(235, 49%, 96%)
CMYKcmyk(49.4%, 44.9%, 0%, 3.9%)
CIE-LABlab(60.07, 25.12, -56.57)
CIE-LCHlch(60.07, 61.90, 293.94°)
OKLaboklab(66.54% 0.019 -0.1607)
OKLCHoklch(66.54% 0.162 276.8)
XYZxyz(33.4524, 28.2036, 90.0496)
Luminance0.2821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C87F5 #F5EA7C
analogous
#7CC4F5 #7C87F5 #AD7CF5
triadic
#7C87F5 #F57C87 #87F57C
tetradic
#7C87F5 #F57CC4 #F5EA7C #7CF5AD
square
#7C87F5 #F57CC4 #F5EA7C #7CF5AD
split-complementary
#7C87F5 #F5AD7C #C4F57C
monochromatic
#1125E5 #4353F1 #7C87F5 #B5BBF9 #E3E5FD

Accessibility & contrast

On white

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

On black

6.64
#7C87F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C87F5
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C87F5#FFFFFF#000000##000000
##7C87F51.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5896F9
Deuteranopia (green-blind)
#4D8CF3
Tritanopia (blue-blind)
#4B9FB2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7c87f5;
/* rgb */ color: rgb(124, 135, 245);
/* oklch */ color: oklch(66.5% 0.162 276.8);
Tailwind
colors: {
  custom: {
    50: '#a9a9f9',
    500: '#7c87f5',
    950: '#000000',
  },
}
SCSS
$custom: #7c87f5;
$custom-light: #a9a9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c87f5",
  "rgb": {
    "r": 124,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 234.545,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.66539,
    "c": 0.16182,
    "h": 276.8
  },
  "luminance": 0.28206
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C87F5

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

Preview Lab → · Contrast checker → · Palette generator →

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