#7D87F7#7D87F7

#7D87F7 is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.7% C 0.164 H 277.1°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7D87F7
RGBrgb(125, 135, 247)
HSLhsl(235, 88%, 73%)
HSVhsv(235, 49%, 97%)
CMYKcmyk(49.4%, 45.3%, 0%, 3.1%)
CIE-LABlab(60.25, 25.94, -57.39)
CIE-LCHlch(60.25, 62.98, 294.33°)
OKLaboklab(66.73% 0.0204 -0.1631)
OKLCHoklch(66.73% 0.164 277.1)
XYZxyz(33.9047, 28.4013, 91.6731)
Luminance0.2840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D87F7 #F7ED7D
analogous
#7DC4F7 #7D87F7 #B07DF7
triadic
#7D87F7 #F77D87 #87F77D
tetradic
#7D87F7 #F77DC4 #F7ED7D #7DF7B0
square
#7D87F7 #F77DC4 #F7ED7D #7DF7B0
split-complementary
#7D87F7 #F7B07D #C4F77D
monochromatic
#0E21EB #4352F3 #7D87F7 #B7BCFB #E2E4FD

Accessibility & contrast

On white

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

On black

6.68
#7D87F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D87F7
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D87F7#FFFFFF#000000##000000
##7D87F71.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5796FB
Deuteranopia (green-blind)
#4C8DF5
Tritanopia (blue-blind)
#4C9FB3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7d87f7;
/* rgb */ color: rgb(125, 135, 247);
/* oklch */ color: oklch(66.7% 0.164 277.1);
Tailwind
colors: {
  custom: {
    50: '#a9a9fa',
    500: '#7d87f7',
    950: '#000000',
  },
}
SCSS
$custom: #7d87f7;
$custom-light: #a9a9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d87f7",
  "rgb": {
    "r": 125,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 235.082,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.66727,
    "c": 0.16434,
    "h": 277.1
  },
  "luminance": 0.28403
}

Semantic roles & 50–950 ramp

primary
#7D87F7
secondary
#F5F3D6
accent
#D200E5
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7D87F7

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

Preview Lab → · Contrast checker → · Palette generator →

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