#7C87F3#7C87F3

#7C87F3 is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.4% C 0.159 H 276.8°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7C87F3
RGBrgb(124, 135, 243)
HSLhsl(234, 83%, 72%)
HSVhsv(234, 49%, 95%)
CMYKcmyk(49%, 44.4%, 0%, 4.7%)
CIE-LABlab(59.96, 24.52, -55.64)
CIE-LCHlch(59.96, 60.81, 293.78°)
OKLaboklab(66.42% 0.0188 -0.158)
OKLCHoklch(66.42% 0.159 276.8)
XYZxyz(33.1488, 28.0822, 88.4503)
Luminance0.2808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C87F3 #F3E87C
analogous
#7CC3F3 #7C87F3 #AD7CF3
triadic
#7C87F3 #F37C87 #87F37C
tetradic
#7C87F3 #F37CC3 #F3E87C #7CF3AD
square
#7C87F3 #F37CC3 #F3E87C #7CF3AD
split-complementary
#7C87F3 #F3AD7C #C3F37C
monochromatic
#1527E0 #4454EE #7C87F3 #B4BAF8 #E3E5FC

Accessibility & contrast

On white

3.17
#7C87F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#7C87F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C87F3
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C87F3#FFFFFF#000000##000000
##7C87F31.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A95F7
Deuteranopia (green-blind)
#4F8CF1
Tritanopia (blue-blind)
#4D9EB1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7c87f3;
/* rgb */ color: rgb(124, 135, 243);
/* oklch */ color: oklch(66.4% 0.159 276.8);
Tailwind
colors: {
  custom: {
    50: '#a8a9f7',
    500: '#7c87f3',
    950: '#000000',
  },
}
SCSS
$custom: #7c87f3;
$custom-light: #a8a9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c87f3",
  "rgb": {
    "r": 124,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 234.454,
    "s": 83.217,
    "l": 71.961
  },
  "oklch": {
    "l": 0.6642,
    "c": 0.15908,
    "h": 276.8
  },
  "luminance": 0.28084
}

Semantic roles & 50–950 ramp

primary
#7C87F3
secondary
#F4F2D6
accent
#CC06E0
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C87F3

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

Preview Lab → · Contrast checker → · Palette generator →

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