#7F87F7#7F87F7

#7F87F7 is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.9% C 0.164 H 277.9°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7F87F7
RGBrgb(127, 135, 247)
HSLhsl(236, 88%, 73%)
HSVhsv(236, 49%, 97%)
CMYKcmyk(48.6%, 45.3%, 0%, 3.1%)
CIE-LABlab(60.39, 26.38, -57.16)
CIE-LCHlch(60.39, 62.96, 294.77°)
OKLaboklab(66.86% 0.0225 -0.1624)
OKLCHoklch(66.86% 0.164 277.9)
XYZxyz(34.1997, 28.5534, 91.6869)
Luminance0.2856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F87F7 #F7EF7F
analogous
#7FC3F7 #7F87F7 #B37FF7
triadic
#7F87F7 #F77F87 #87F77F
tetradic
#7F87F7 #F77FC3 #F7EF7F #7FF7B3
square
#7F87F7 #F77FC3 #F7EF7F #7FF7B3
split-complementary
#7F87F7 #F7B37F #C3F77F
monochromatic
#0F1EED #4551F3 #7F87F7 #B9BDFB #E2E4FD

Accessibility & contrast

On white

3.13
#7F87F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#7F87F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F87F7
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F87F7#FFFFFF#000000##000000
##7F87F71.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5896FB
Deuteranopia (green-blind)
#4D8DF5
Tritanopia (blue-blind)
#519FB3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7f87f7;
/* rgb */ color: rgb(127, 135, 247);
/* oklch */ color: oklch(66.9% 0.164 277.9);
Tailwind
colors: {
  custom: {
    50: '#aba9fa',
    500: '#7f87f7',
    950: '#000000',
  },
}
SCSS
$custom: #7f87f7;
$custom-light: #aba9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7f87f7",
  "rgb": {
    "r": 127,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 236,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.66865,
    "c": 0.16392,
    "h": 277.9
  },
  "luminance": 0.28555
}

Semantic roles & 50–950 ramp

primary
#7F87F7
secondary
#F5F3D6
accent
#D601E5
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111017
muted
#807F85

Preview Lab

Preview with #7F87F7

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

Preview Lab → · Contrast checker → · Palette generator →

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