#7F87EA#7F87EA

#7F87EA is a light, vivid blue. Relative luminance 0.278; OKLCH L 66.1% C 0.146 H 278.1°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#7F87EA
RGBrgb(127, 135, 234)
HSLhsl(236, 72%, 71%)
HSVhsv(236, 46%, 92%)
CMYKcmyk(45.7%, 42.3%, 0%, 8.2%)
CIE-LABlab(59.69, 22.54, -51.09)
CIE-LCHlch(59.69, 55.84, 293.81°)
OKLaboklab(66.11% 0.0206 -0.1446)
OKLCHoklch(66.11% 0.146 278.1)
XYZxyz(32.2631, 27.7788, 81.4878)
Luminance0.2778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F87EA #EAE27F
analogous
#7FBCEA #7F87EA #AC7FEA
triadic
#7F87EA #EA7F87 #87EA7F
tetradic
#7F87EA #EA7FBC #EAE27F #7FEAAC
square
#7F87EA #EA7FBC #EAE27F #7FEAAC
split-complementary
#7F87EA #EAAC7F #BCEA7F
monochromatic
#222ECD #4A56E1 #7F87EA #B4B8F3 #E5E6FB

Accessibility & contrast

On white

3.20
#7F87EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#7F87EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F87EA
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F87EA#FFFFFF#000000##000000
##7F87EA1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6194EE
Deuteranopia (green-blind)
#598CE8
Tritanopia (blue-blind)
#599CAD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7f87ea;
/* rgb */ color: rgb(127, 135, 234);
/* oklch */ color: oklch(66.1% 0.146 278.1);
Tailwind
colors: {
  custom: {
    50: '#a9a9f1',
    500: '#7f87ea',
    950: '#000000',
  },
}
SCSS
$custom: #7f87ea;
$custom-light: #a9a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f87ea",
  "rgb": {
    "r": 127,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 235.514,
    "s": 71.812,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66108,
    "c": 0.14601,
    "h": 278.1
  },
  "luminance": 0.2778
}

Semantic roles & 50–950 ramp

primary
#7F87EA
secondary
#F1EFD4
accent
#C512D4
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7F87EA

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

Preview Lab → · Contrast checker → · Palette generator →

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