#7D87F1#7D87F1

#7D87F1 is a light, vivid blue. Relative luminance 0.280; OKLCH L 66.4% C 0.156 H 277.2°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7D87F1
RGBrgb(125, 135, 241)
HSLhsl(235, 81%, 72%)
HSVhsv(235, 48%, 95%)
CMYKcmyk(48.1%, 44%, 0%, 5.5%)
CIE-LABlab(59.92, 24.15, -54.60)
CIE-LCHlch(59.92, 59.70, 293.86°)
OKLaboklab(66.37% 0.0195 -0.1549)
OKLCHoklch(66.37% 0.156 277.2)
XYZxyz(32.9937, 28.0369, 86.8752)
Luminance0.2804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D87F1 #F1E77D
analogous
#7DC1F1 #7D87F1 #AD7DF1
triadic
#7D87F1 #F17D87 #87F17D
tetradic
#7D87F1 #F17DC1 #F1E77D #7DF1AD
square
#7D87F1 #F17DC1 #F1E77D #7DF1AD
split-complementary
#7D87F1 #F1AD7D #C1F17D
monochromatic
#1829DC #4654EB #7D87F1 #B4BAF7 #E3E5FC

Accessibility & contrast

On white

3.18
#7D87F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#7D87F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D87F1
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D87F1#FFFFFF#000000##000000
##7D87F11.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C95F5
Deuteranopia (green-blind)
#518CEF
Tritanopia (blue-blind)
#519DB0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7d87f1;
/* rgb */ color: rgb(125, 135, 241);
/* oklch */ color: oklch(66.4% 0.156 277.2);
Tailwind
colors: {
  custom: {
    50: '#a9a9f6',
    500: '#7d87f1',
    950: '#000000',
  },
}
SCSS
$custom: #7d87f1;
$custom-light: #a9a9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d87f1",
  "rgb": {
    "r": 125,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 234.828,
    "s": 80.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66372,
    "c": 0.15612,
    "h": 277.2
  },
  "luminance": 0.28039
}

Semantic roles & 50–950 ramp

primary
#7D87F1
secondary
#F4F1D6
accent
#CB09DD
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7D87F1

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

Preview Lab → · Contrast checker → · Palette generator →

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