#7C87FD#7C87FD

#7C87FD is a light, vivid blue. Relative luminance 0.287; OKLCH L 67.0% C 0.173 H 276.7°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7C87FD
RGBrgb(124, 135, 253)
HSLhsl(235, 97%, 74%)
HSVhsv(235, 51%, 99%)
CMYKcmyk(51%, 46.6%, 0%, 0.8%)
CIE-LABlab(60.52, 27.54, -60.26)
CIE-LCHlch(60.52, 66.26, 294.56°)
OKLaboklab(67.02% 0.0201 -0.1715)
OKLCHoklch(67.02% 0.173 276.7)
XYZxyz(34.7002, 28.7027, 96.6212)
Luminance0.2871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C87FD #FDF27C
analogous
#7CC8FD #7C87FD #B27CFD
triadic
#7C87FD #FD7C87 #87FD7C
tetradic
#7C87FD #FD7CC8 #FDF27C #7CFDB2
square
#7C87FD #FD7CC8 #FDF27C #7CFDB2
split-complementary
#7C87FD #FDB27C #C8FD7C
monochromatic
#0419FB #4050FC #7C87FD #B8BEFE #E1E3FF

Accessibility & contrast

On white

3.12
#7C87FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#7C87FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C87FD
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C87FD#FFFFFF#000000##000000
##7C87FD1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#448DFA
Tritanopia (blue-blind)
#45A1B6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7c87fd;
/* rgb */ color: rgb(124, 135, 253);
/* oklch */ color: oklch(67.0% 0.173 276.7);
Tailwind
colors: {
  custom: {
    50: '#aaa9ff',
    500: '#7c87fd',
    950: '#000000',
  },
}
SCSS
$custom: #7c87fd;
$custom-light: #aaa9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7c87fd",
  "rgb": {
    "r": 124,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 234.884,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.67022,
    "c": 0.1727,
    "h": 276.7
  },
  "luminance": 0.28705
}

Semantic roles & 50–950 ramp

primary
#7C87FD
secondary
#F7F4D4
accent
#D200E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111018
muted
#807F86

Preview Lab

Preview with #7C87FD

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

Preview Lab → · Contrast checker → · Palette generator →

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