#7C87FA#7C87FA

#7C87FA is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.8% C 0.169 H 276.7°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7C87FA
RGBrgb(124, 135, 250)
HSLhsl(235, 93%, 73%)
HSVhsv(235, 50%, 98%)
CMYKcmyk(50.4%, 46%, 0%, 2%)
CIE-LABlab(60.35, 26.63, -58.88)
CIE-LCHlch(60.35, 64.63, 294.33°)
OKLaboklab(66.84% 0.0197 -0.1675)
OKLCHoklch(66.84% 0.169 276.7)
XYZxyz(34.2261, 28.5131, 94.1240)
Luminance0.2852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C87FA #FAEF7C
analogous
#7CC6FA #7C87FA #B07CFA
triadic
#7C87FA #FA7C87 #87FA7C
tetradic
#7C87FA #FA7CC6 #FAEF7C #7CFAB0
square
#7C87FA #FA7CC6 #FAEF7C #7CFAB0
split-complementary
#7C87FA #FAB07C #C6FA7C
monochromatic
#091EF2 #4151F8 #7C87FA #B7BDFC #E2E4FE

Accessibility & contrast

On white

3.13
#7C87FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#7C87FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C87FA
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C87FA#FFFFFF#000000##000000
##7C87FA1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5597FE
Deuteranopia (green-blind)
#488DF7
Tritanopia (blue-blind)
#47A0B4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7c87fa;
/* rgb */ color: rgb(124, 135, 250);
/* oklch */ color: oklch(66.8% 0.169 276.7);
Tailwind
colors: {
  custom: {
    50: '#a9a9fc',
    500: '#7c87fa',
    950: '#000000',
  },
}
SCSS
$custom: #7c87fa;
$custom-light: #a9a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c87fa",
  "rgb": {
    "r": 124,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 234.762,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.66839,
    "c": 0.16863,
    "h": 276.7
  },
  "luminance": 0.28515
}

Semantic roles & 50–950 ramp

primary
#7C87FA
secondary
#F6F3D5
accent
#D100E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #7C87FA

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

Preview Lab → · Contrast checker → · Palette generator →

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