#7987FA#7987FA

#7987FA is a light, vivid blue. Relative luminance 0.283; OKLCH L 66.6% C 0.169 H 275.6°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#7987FA
RGBrgb(121, 135, 250)
HSLhsl(233, 93%, 73%)
HSVhsv(233, 52%, 98%)
CMYKcmyk(51.6%, 46%, 0%, 2%)
CIE-LABlab(60.15, 25.99, -59.21)
CIE-LCHlch(60.15, 64.66, 293.70°)
OKLaboklab(66.64% 0.0165 -0.1685)
OKLCHoklch(66.64% 0.169 275.6)
XYZxyz(33.7990, 28.2929, 94.1040)
Luminance0.2829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7987FA #FAEC79
analogous
#79C8FA #7987FA #AB79FA
triadic
#7987FA #FA7987 #87FA79
tetradic
#7987FA #FA79C8 #FAEC79 #79FAAB
square
#7987FA #FA79C8 #FAEC79 #79FAAB
split-complementary
#7987FA #FAAB79 #C8FA79
monochromatic
#0922F0 #3E52F8 #7987FA #B4BCFC #E2E5FE

Accessibility & contrast

On white

3.15
#7987FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#7987FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7987FA
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7987FA#FFFFFF#000000##000000
##7987FA1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5497FE
Deuteranopia (green-blind)
#468CF7
Tritanopia (blue-blind)
#40A0B4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7987fa;
/* rgb */ color: rgb(121, 135, 250);
/* oklch */ color: oklch(66.6% 0.169 275.6);
Tailwind
colors: {
  custom: {
    50: '#a7a9fc',
    500: '#7987fa',
    950: '#000000',
  },
}
SCSS
$custom: #7987fa;
$custom-light: #a7a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7987fa",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 233.488,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.66639,
    "c": 0.16931,
    "h": 275.6
  },
  "luminance": 0.28295
}

Semantic roles & 50–950 ramp

primary
#7987FA
secondary
#F6F2D5
accent
#CD00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #7987FA

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

Preview Lab → · Contrast checker → · Palette generator →

#7987FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva