#7D87F6#7D87F6

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

Color values

HEX#7D87F6
RGBrgb(125, 135, 246)
HSLhsl(235, 87%, 73%)
HSVhsv(235, 49%, 96%)
CMYKcmyk(49.2%, 45.1%, 0%, 3.5%)
CIE-LABlab(60.19, 25.64, -56.92)
CIE-LCHlch(60.19, 62.43, 294.25°)
OKLaboklab(66.67% 0.0202 -0.1617)
OKLCHoklch(66.67% 0.163 277.1)
XYZxyz(33.7508, 28.3398, 90.8626)
Luminance0.2834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D87F6 #F6EC7D
analogous
#7DC4F6 #7D87F6 #AF7DF6
triadic
#7D87F6 #F67D87 #87F67D
tetradic
#7D87F6 #F67DC4 #F6EC7D #7DF6AF
square
#7D87F6 #F67DC4 #F6EC7D #7DF6AF
split-complementary
#7D87F6 #F6AF7D #C4F67D
monochromatic
#1022E9 #4452F2 #7D87F6 #B6BCFA #E2E5FD

Accessibility & contrast

On white

3.15
#7D87F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#7D87F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D87F6
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D87F6#FFFFFF#000000##000000
##7D87F61.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5896FA
Deuteranopia (green-blind)
#4D8CF4
Tritanopia (blue-blind)
#4D9FB3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7d87f6;
/* rgb */ color: rgb(125, 135, 246);
/* oklch */ color: oklch(66.7% 0.163 277.1);
Tailwind
colors: {
  custom: {
    50: '#a9a9fa',
    500: '#7d87f6',
    950: '#000000',
  },
}
SCSS
$custom: #7d87f6;
$custom-light: #a9a9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d87f6",
  "rgb": {
    "r": 125,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 235.041,
    "s": 87.05,
    "l": 72.745
  },
  "oklch": {
    "l": 0.66667,
    "c": 0.16297,
    "h": 277.1
  },
  "luminance": 0.28342
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D87F6

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

Preview Lab → · Contrast checker → · Palette generator →

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