#7D87FE#7D87FE

#7D87FE is a light, vivid blue. Relative luminance 0.288; OKLCH L 67.2% C 0.174 H 277.0°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#7D87FE
RGBrgb(125, 135, 254)
HSLhsl(235, 98%, 74%)
HSVhsv(235, 51%, 100%)
CMYKcmyk(50.8%, 46.9%, 0%, 0.4%)
CIE-LABlab(60.64, 28.05, -60.61)
CIE-LCHlch(60.64, 66.79, 294.83°)
OKLaboklab(67.15% 0.0213 -0.1725)
OKLCHoklch(67.15% 0.174 277)
XYZxyz(35.0052, 28.8415, 97.4691)
Luminance0.2884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D87FE #FEF47D
analogous
#7DC8FE #7D87FE #B47DFE
triadic
#7D87FE #FE7D87 #87FE7D
tetradic
#7D87FE #FE7DC8 #FEF47D #7DFEB4
square
#7D87FE #FE7DC8 #FEF47D #7DFEB4
split-complementary
#7D87FE #FEB47D #C8FE7D
monochromatic
#0417FD #404FFE #7D87FE #BABFFE #E1E3FF

Accessibility & contrast

On white

3.10
#7D87FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#7D87FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D87FE
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D87FE#FFFFFF#000000##000000
##7D87FE1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5198FF
Deuteranopia (green-blind)
#448DFB
Tritanopia (blue-blind)
#46A1B6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7d87fe;
/* rgb */ color: rgb(125, 135, 254);
/* oklch */ color: oklch(67.2% 0.174 277.0);
Tailwind
colors: {
  custom: {
    50: '#aaa9ff',
    500: '#7d87fe',
    950: '#000000',
  },
}
SCSS
$custom: #7d87fe;
$custom-light: #aaa9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7d87fe",
  "rgb": {
    "r": 125,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 235.349,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.67151,
    "c": 0.17383,
    "h": 277
  },
  "luminance": 0.28844
}

Semantic roles & 50–950 ramp

primary
#7D87FE
secondary
#F7F4D4
accent
#D400E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #7D87FE

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

Preview Lab → · Contrast checker → · Palette generator →

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