#7D87F5#7D87F5

#7D87F5 is a light, vivid blue. Relative luminance 0.283; OKLCH L 66.6% C 0.162 H 277.1°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#7D87F5
RGBrgb(125, 135, 245)
HSLhsl(235, 86%, 73%)
HSVhsv(235, 49%, 96%)
CMYKcmyk(49%, 44.9%, 0%, 3.9%)
CIE-LABlab(60.14, 25.34, -56.46)
CIE-LCHlch(60.14, 61.89, 294.17°)
OKLaboklab(66.61% 0.0201 -0.1603)
OKLCHoklch(66.61% 0.162 277.1)
XYZxyz(33.5977, 28.2785, 90.0564)
Luminance0.2828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D87F5 #F5EB7D
analogous
#7DC3F5 #7D87F5 #AF7DF5
triadic
#7D87F5 #F57D87 #87F57D
tetradic
#7D87F5 #F57DC3 #F5EB7D #7DF5AF
square
#7D87F5 #F57DC3 #F5EB7D #7DF5AF
split-complementary
#7D87F5 #F5AF7D #C3F57D
monochromatic
#1223E6 #4453F1 #7D87F5 #B6BBF9 #E3E5FD

Accessibility & contrast

On white

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

On black

6.66
#7D87F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D87F5
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D87F5#FFFFFF#000000##000000
##7D87F51.003.166.666.66
#FFFFFF3.161.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d87f5;
/* rgb */ color: rgb(125, 135, 245);
/* oklch */ color: oklch(66.6% 0.162 277.1);
Tailwind
colors: {
  custom: {
    50: '#a9a9f9',
    500: '#7d87f5',
    950: '#000000',
  },
}
SCSS
$custom: #7d87f5;
$custom-light: #a9a9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d87f5",
  "rgb": {
    "r": 125,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 235,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.66607,
    "c": 0.16161,
    "h": 277.1
  },
  "luminance": 0.2828
}

Semantic roles & 50–950 ramp

primary
#7D87F5
secondary
#F5F2D6
accent
#D003E2
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7D87F5

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

Preview Lab → · Contrast checker → · Palette generator →

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