#7F87F9#7F87F9

#7F87F9 is a light, vivid blue. Relative luminance 0.287; OKLCH L 67.0% C 0.167 H 277.9°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7F87F9
RGBrgb(127, 135, 249)
HSLhsl(236, 91%, 74%)
HSVhsv(236, 49%, 98%)
CMYKcmyk(49%, 45.8%, 0%, 2.4%)
CIE-LABlab(60.50, 26.98, -58.09)
CIE-LCHlch(60.50, 64.05, 294.91°)
OKLaboklab(66.98% 0.0228 -0.1651)
OKLCHoklch(66.98% 0.167 277.9)
XYZxyz(34.5099, 28.6775, 93.3211)
Luminance0.2868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F87F9 #F9F17F
analogous
#7FC4F9 #7F87F9 #B47FF9
triadic
#7F87F9 #F97F87 #87F97F
tetradic
#7F87F9 #F97FC4 #F9F17F #7FF9B4
square
#7F87F9 #F97FC4 #F9F17F #7FF9B4
split-complementary
#7F87F9 #F9B47F #C4F97F
monochromatic
#0B1AF2 #4550F6 #7F87F9 #B9BEFC #E2E4FE

Accessibility & contrast

On white

3.12
#7F87F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#7F87F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F87F9
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F87F9#FFFFFF#000000##000000
##7F87F91.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FD
Deuteranopia (green-blind)
#4B8DF6
Tritanopia (blue-blind)
#4F9FB4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7f87f9;
/* rgb */ color: rgb(127, 135, 249);
/* oklch */ color: oklch(67.0% 0.167 277.9);
Tailwind
colors: {
  custom: {
    50: '#aba9fc',
    500: '#7f87f9',
    950: '#000000',
  },
}
SCSS
$custom: #7f87f9;
$custom-light: #aba9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f87f9",
  "rgb": {
    "r": 127,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 236.066,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.66984,
    "c": 0.16664,
    "h": 277.9
  },
  "luminance": 0.2868
}

Semantic roles & 50–950 ramp

primary
#7F87F9
secondary
#F6F4D5
accent
#D600E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #7F87F9

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

Preview Lab → · Contrast checker → · Palette generator →

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