#7987DA#7987DA

#7987DA is a light, vivid blue. Relative luminance 0.265; OKLCH L 64.8% C 0.125 H 275.1°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7987DA
RGBrgb(121, 135, 218)
HSLhsl(231, 57%, 66%)
HSVhsv(231, 44%, 85%)
CMYKcmyk(44.5%, 38.1%, 0%, 14.5%)
CIE-LABlab(58.46, 16.41, -44.13)
CIE-LCHlch(58.46, 47.08, 290.40°)
OKLaboklab(64.8% 0.0111 -0.1244)
OKLCHoklch(64.8% 0.125 275.1)
XYZxyz(29.2001, 26.4533, 69.8835)
Luminance0.2646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7987DA #DACC79
analogous
#79B8DA #7987DA #9C79DA
triadic
#7987DA #DA7987 #87DA79
tetradic
#7987DA #DA79B8 #DACC79 #79DA9C
square
#7987DA #DA79B8 #DACC79 #79DA9C
split-complementary
#7987DA #DA9C79 #B8DA79
monochromatic
#2F41AA #495CCD #7987DA #A9B2E7 #D9DDF4

Accessibility & contrast

On white

3.34
#7987DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#7987DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7987DA
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7987DA#FFFFFF#000000##000000
##7987DA1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6991DD
Deuteranopia (green-blind)
#6189D8
Tritanopia (blue-blind)
#5798A6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7987da;
/* rgb */ color: rgb(121, 135, 218);
/* oklch */ color: oklch(64.8% 0.125 275.1);
Tailwind
colors: {
  custom: {
    50: '#a4a9e6',
    500: '#7987da',
    950: '#000000',
  },
}
SCSS
$custom: #7987da;
$custom-light: #a4a9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7987da",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 218
  },
  "hsl": {
    "h": 231.34,
    "s": 56.725,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64802,
    "c": 0.12487,
    "h": 275.1
  },
  "luminance": 0.26455
}

Semantic roles & 50–950 ramp

primary
#7987DA
secondary
#E7E3C8
accent
#AD21C4
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #7987DA

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

Preview Lab → · Contrast checker → · Palette generator →

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