#7F87F4#7F87F4

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

Color values

HEX#7F87F4
RGBrgb(127, 135, 244)
HSLhsl(236, 84%, 73%)
HSVhsv(236, 48%, 96%)
CMYKcmyk(48%, 44.7%, 0%, 4.3%)
CIE-LABlab(60.22, 25.49, -55.77)
CIE-LCHlch(60.22, 61.32, 294.56°)
OKLaboklab(66.69% 0.0221 -0.1583)
OKLCHoklch(66.69% 0.16 278)
XYZxyz(33.7405, 28.3698, 89.2684)
Luminance0.2837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F87F4 #F4EC7F
analogous
#7FC2F4 #7F87F4 #B17FF4
triadic
#7F87F4 #F47F87 #87F47F
tetradic
#7F87F4 #F47FC2 #F4EC7F #7FF4B1
square
#7F87F4 #F47FC2 #F4EC7F #7FF4B1
split-complementary
#7F87F4 #F4B17F #C2F47F
monochromatic
#1422E5 #4752EF #7F87F4 #B7BCF9 #E3E5FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F87F4#FFFFFF#000000##000000
##7F87F41.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)
#5A96F8
Deuteranopia (green-blind)
#508DF2
Tritanopia (blue-blind)
#539EB2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7f87f4;
/* rgb */ color: rgb(127, 135, 244);
/* oklch */ color: oklch(66.7% 0.160 278.0);
Tailwind
colors: {
  custom: {
    50: '#aaa9f8',
    500: '#7f87f4',
    950: '#000000',
  },
}
SCSS
$custom: #7f87f4;
$custom-light: #aaa9f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f87f4",
  "rgb": {
    "r": 127,
    "g": 135,
    "b": 244
  },
  "hsl": {
    "h": 235.897,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.66687,
    "c": 0.15982,
    "h": 278
  },
  "luminance": 0.28372
}

Semantic roles & 50–950 ramp

primary
#7F87F4
secondary
#F5F2D6
accent
#D205E1
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7F87F4

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

Preview Lab → · Contrast checker → · Palette generator →

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