#7F87FE#7F87FE

#7F87FE is a light, vivid blue. Relative luminance 0.290; OKLCH L 67.3% C 0.173 H 277.8°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#7F87FE
RGBrgb(127, 135, 254)
HSLhsl(236, 98%, 75%)
HSVhsv(236, 50%, 100%)
CMYKcmyk(50%, 46.9%, 0%, 0.4%)
CIE-LABlab(60.78, 28.47, -60.39)
CIE-LCHlch(60.78, 66.76, 295.24°)
OKLaboklab(67.29% 0.0234 -0.1718)
OKLCHoklch(67.29% 0.173 277.8)
XYZxyz(35.3002, 28.9936, 97.4830)
Luminance0.2900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F87FE #FEF67F
analogous
#7FC7FE #7F87FE #B67FFE
triadic
#7F87FE #FE7F87 #87FE7F
tetradic
#7F87FE #FE7FC7 #FEF67F #7FFEB6
square
#7F87FE #FE7FC7 #FEF67F #7FFEB6
split-complementary
#7F87FE #FEB67F #C7FE7F
monochromatic
#0615FD #424EFE #7F87FE #BCC0FE #E1E3FF

Accessibility & contrast

On white

3.09
#7F87FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#7F87FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F87FE
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F87FE#FFFFFF#000000##000000
##7F87FE1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5298FF
Deuteranopia (green-blind)
#468EFB
Tritanopia (blue-blind)
#4BA1B6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7f87fe;
/* rgb */ color: rgb(127, 135, 254);
/* oklch */ color: oklch(67.3% 0.173 277.8);
Tailwind
colors: {
  custom: {
    50: '#aba9ff',
    500: '#7f87fe',
    950: '#000000',
  },
}
SCSS
$custom: #7f87fe;
$custom-light: #aba9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7f87fe",
  "rgb": {
    "r": 127,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 236.22,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.67287,
    "c": 0.17342,
    "h": 277.8
  },
  "luminance": 0.28996
}

Semantic roles & 50–950 ramp

primary
#7F87FE
secondary
#F7F5D4
accent
#D700E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #7F87FE

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

Preview Lab → · Contrast checker → · Palette generator →

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