#7D87F9#7D87F9

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

Color values

HEX#7D87F9
RGBrgb(125, 135, 249)
HSLhsl(235, 91%, 73%)
HSVhsv(235, 50%, 98%)
CMYKcmyk(49.8%, 45.8%, 0%, 2.4%)
CIE-LABlab(60.36, 26.54, -58.31)
CIE-LCHlch(60.36, 64.07, 294.47°)
OKLaboklab(66.85% 0.0206 -0.1658)
OKLCHoklch(66.85% 0.167 277.1)
XYZxyz(34.2150, 28.5254, 93.3072)
Luminance0.2853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D87F9 #F9EF7D
analogous
#7DC5F9 #7D87F9 #B17DF9
triadic
#7D87F9 #F97D87 #87F97D
tetradic
#7D87F9 #F97DC5 #F9EF7D #7DF9B1
square
#7D87F9 #F97DC5 #F9EF7D #7DF9B1
split-complementary
#7D87F9 #F9B17D #C5F97D
monochromatic
#0B1EF0 #4251F6 #7D87F9 #B7BDFC #E2E4FE

Accessibility & contrast

On white

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

On black

6.71
#7D87F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D87F9
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D87F9#FFFFFF#000000##000000
##7D87F91.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FD
Deuteranopia (green-blind)
#4A8DF6
Tritanopia (blue-blind)
#4BA0B4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7d87f9;
/* rgb */ color: rgb(125, 135, 249);
/* oklch */ color: oklch(66.8% 0.167 277.1);
Tailwind
colors: {
  custom: {
    50: '#aaa9fc',
    500: '#7d87f9',
    950: '#000000',
  },
}
SCSS
$custom: #7d87f9;
$custom-light: #aaa9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d87f9",
  "rgb": {
    "r": 125,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 235.161,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.66847,
    "c": 0.16706,
    "h": 277.1
  },
  "luminance": 0.28527
}

Semantic roles & 50–950 ramp

primary
#7D87F9
secondary
#F6F3D5
accent
#D300E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111017
muted
#807F85

Preview Lab

Preview with #7D87F9

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

Preview Lab → · Contrast checker → · Palette generator →

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