#7D87FD#7D87FD

#7D87FD is a light, vivid blue. Relative luminance 0.288; OKLCH L 67.1% C 0.172 H 277.0°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7D87FD
RGBrgb(125, 135, 253)
HSLhsl(235, 97%, 74%)
HSVhsv(235, 51%, 99%)
CMYKcmyk(50.6%, 46.6%, 0%, 0.8%)
CIE-LABlab(60.58, 27.75, -60.15)
CIE-LCHlch(60.58, 66.24, 294.76°)
OKLaboklab(67.09% 0.0211 -0.1712)
OKLCHoklch(67.09% 0.172 277)
XYZxyz(34.8455, 28.7777, 96.6280)
Luminance0.2878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D87FD #FDF37D
analogous
#7DC7FD #7D87FD #B37DFD
triadic
#7D87FD #FD7D87 #87FD7D
tetradic
#7D87FD #FD7DC7 #FDF37D #7DFDB3
square
#7D87FD #FD7DC7 #FDF37D #7DFDB3
split-complementary
#7D87FD #FDB37D #C7FD7D
monochromatic
#0418FB #414FFC #7D87FD #B9BFFE #E1E3FF

Accessibility & contrast

On white

3.11
#7D87FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#7D87FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D87FD
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D87FD#FFFFFF#000000##000000
##7D87FD1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#458DFA
Tritanopia (blue-blind)
#47A1B6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7d87fd;
/* rgb */ color: rgb(125, 135, 253);
/* oklch */ color: oklch(67.1% 0.172 277.0);
Tailwind
colors: {
  custom: {
    50: '#aaa9ff',
    500: '#7d87fd',
    950: '#000000',
  },
}
SCSS
$custom: #7d87fd;
$custom-light: #aaa9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7d87fd",
  "rgb": {
    "r": 125,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 235.313,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.67089,
    "c": 0.17248,
    "h": 277
  },
  "luminance": 0.2878
}

Semantic roles & 50–950 ramp

primary
#7D87FD
secondary
#F7F4D4
accent
#D400E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #7D87FD

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

Preview Lab → · Contrast checker → · Palette generator →

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