#7D87F4#7D87F4

#7D87F4 is a light, vivid blue. Relative luminance 0.282; OKLCH L 66.5% C 0.160 H 277.2°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7D87F4
RGBrgb(125, 135, 244)
HSLhsl(235, 84%, 72%)
HSVhsv(235, 49%, 96%)
CMYKcmyk(48.8%, 44.7%, 0%, 4.3%)
CIE-LABlab(60.08, 25.04, -56.00)
CIE-LCHlch(60.08, 61.34, 294.10°)
OKLaboklab(66.55% 0.02 -0.159)
OKLCHoklch(66.55% 0.16 277.2)
XYZxyz(33.4455, 28.2176, 89.2546)
Luminance0.2822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D87F4 #F4EA7D
analogous
#7DC3F4 #7D87F4 #AF7DF4
triadic
#7D87F4 #F47D87 #87F47D
tetradic
#7D87F4 #F47DC3 #F4EA7D #7DF4AF
square
#7D87F4 #F47DC3 #F4EA7D #7DF4AF
split-complementary
#7D87F4 #F4AF7D #C3F47D
monochromatic
#1325E3 #4553EF #7D87F4 #B5BBF9 #E3E5FD

Accessibility & contrast

On white

3.16
#7D87F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#7D87F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D87F4
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D87F4#FFFFFF#000000##000000
##7D87F41.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5996F8
Deuteranopia (green-blind)
#4F8CF2
Tritanopia (blue-blind)
#4E9EB2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7d87f4;
/* rgb */ color: rgb(125, 135, 244);
/* oklch */ color: oklch(66.5% 0.160 277.2);
Tailwind
colors: {
  custom: {
    50: '#a9a9f8',
    500: '#7d87f4',
    950: '#000000',
  },
}
SCSS
$custom: #7d87f4;
$custom-light: #a9a9f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d87f4",
  "rgb": {
    "r": 125,
    "g": 135,
    "b": 244
  },
  "hsl": {
    "h": 234.958,
    "s": 84.397,
    "l": 72.353
  },
  "oklch": {
    "l": 0.66548,
    "c": 0.16023,
    "h": 277.2
  },
  "luminance": 0.2822
}

Semantic roles & 50–950 ramp

primary
#7D87F4
secondary
#F5F2D6
accent
#CE05E1
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7D87F4

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

Preview Lab → · Contrast checker → · Palette generator →

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