#7D87F8#7D87F8

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

Color values

HEX#7D87F8
RGBrgb(125, 135, 248)
HSLhsl(235, 90%, 73%)
HSVhsv(235, 50%, 97%)
CMYKcmyk(49.6%, 45.6%, 0%, 2.7%)
CIE-LABlab(60.30, 26.24, -57.85)
CIE-LCHlch(60.30, 63.52, 294.40°)
OKLaboklab(66.79% 0.0205 -0.1644)
OKLCHoklch(66.79% 0.166 277.1)
XYZxyz(34.0594, 28.4632, 92.4880)
Luminance0.2847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D87F8 #F8EE7D
analogous
#7DC4F8 #7D87F8 #B07DF8
triadic
#7D87F8 #F87D87 #87F87D
tetradic
#7D87F8 #F87DC4 #F8EE7D #7DF8B0
square
#7D87F8 #F87DC4 #F8EE7D #7DF8B0
split-complementary
#7D87F8 #F8B07D #C4F87D
monochromatic
#0D1FEE #4351F5 #7D87F8 #B7BDFB #E2E4FD

Accessibility & contrast

On white

3.14
#7D87F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#7D87F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D87F8
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D87F8#FFFFFF#000000##000000
##7D87F81.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5696FC
Deuteranopia (green-blind)
#4B8DF6
Tritanopia (blue-blind)
#4B9FB4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7d87f8;
/* rgb */ color: rgb(125, 135, 248);
/* oklch */ color: oklch(66.8% 0.166 277.1);
Tailwind
colors: {
  custom: {
    50: '#aaa9fb',
    500: '#7d87f8',
    950: '#000000',
  },
}
SCSS
$custom: #7d87f8;
$custom-light: #aaa9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d87f8",
  "rgb": {
    "r": 125,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 235.122,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.66787,
    "c": 0.16569,
    "h": 277.1
  },
  "luminance": 0.28465
}

Semantic roles & 50–950 ramp

primary
#7D87F8
secondary
#F6F3D5
accent
#D300E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7D87F8

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

Preview Lab → · Contrast checker → · Palette generator →

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