#7F87F6#7F87F6

#7F87F6 is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.8% C 0.163 H 277.9°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7F87F6
RGBrgb(127, 135, 246)
HSLhsl(236, 87%, 73%)
HSVhsv(236, 48%, 96%)
CMYKcmyk(48.4%, 45.1%, 0%, 3.5%)
CIE-LABlab(60.33, 26.08, -56.70)
CIE-LCHlch(60.33, 62.41, 294.70°)
OKLaboklab(66.81% 0.0224 -0.161)
OKLCHoklch(66.81% 0.163 277.9)
XYZxyz(34.0458, 28.4919, 90.8764)
Luminance0.2849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F87F6 #F6EE7F
analogous
#7FC3F6 #7F87F6 #B27FF6
triadic
#7F87F6 #F67F87 #87F67F
tetradic
#7F87F6 #F67FC3 #F6EE7F #7FF6B2
square
#7F87F6 #F67FC3 #F6EE7F #7FF6B2
split-complementary
#7F87F6 #F6B27F #C3F67F
monochromatic
#101FEA #4651F2 #7F87F6 #B8BDFA #E2E4FD

Accessibility & contrast

On white

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

On black

6.70
#7F87F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F87F6
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F87F6#FFFFFF#000000##000000
##7F87F61.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5896FA
Deuteranopia (green-blind)
#4E8DF4
Tritanopia (blue-blind)
#519FB3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7f87f6;
/* rgb */ color: rgb(127, 135, 246);
/* oklch */ color: oklch(66.8% 0.163 277.9);
Tailwind
colors: {
  custom: {
    50: '#aba9fa',
    500: '#7f87f6',
    950: '#000000',
  },
}
SCSS
$custom: #7f87f6;
$custom-light: #aba9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7f87f6",
  "rgb": {
    "r": 127,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 235.966,
    "s": 86.861,
    "l": 73.137
  },
  "oklch": {
    "l": 0.66805,
    "c": 0.16255,
    "h": 277.9
  },
  "luminance": 0.28494
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F87F6

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

Preview Lab → · Contrast checker → · Palette generator →

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