#7987EA#7987EA

#7987EA is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.7% C 0.147 H 275.5°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#7987EA
RGBrgb(121, 135, 234)
HSLhsl(233, 73%, 70%)
HSVhsv(233, 48%, 92%)
CMYKcmyk(48.3%, 42.3%, 0%, 8.2%)
CIE-LABlab(59.28, 21.15, -51.76)
CIE-LCHlch(59.28, 55.91, 292.23°)
OKLaboklab(65.69% 0.0141 -0.1467)
OKLCHoklch(65.69% 0.147 275.5)
XYZxyz(31.3958, 27.3316, 81.4471)
Luminance0.2733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7987EA #EADC79
analogous
#79C0EA #7987EA #A379EA
triadic
#7987EA #EA7987 #87EA79
tetradic
#7987EA #EA79C0 #EADC79 #79EAA3
square
#7987EA #EA79C0 #EADC79 #79EAA3
split-complementary
#7987EA #EAA379 #C0EA79
monochromatic
#2035C9 #4458E2 #7987EA #AEB6F2 #E3E6FB

Accessibility & contrast

On white

3.25
#7987EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#7987EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7987EA
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7987EA#FFFFFF#000000##000000
##7987EA1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94EE
Deuteranopia (green-blind)
#558AE8
Tritanopia (blue-blind)
#4D9CAD
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7987ea;
/* rgb */ color: rgb(121, 135, 234);
/* oklch */ color: oklch(65.7% 0.147 275.5);
Tailwind
colors: {
  custom: {
    50: '#a6a9f1',
    500: '#7987ea',
    950: '#000000',
  },
}
SCSS
$custom: #7987ea;
$custom-light: #a6a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7987ea",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 232.566,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65692,
    "c": 0.14734,
    "h": 275.5
  },
  "luminance": 0.27333
}

Semantic roles & 50–950 ramp

primary
#7987EA
secondary
#F0ECCF
accent
#BD11D5
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7987EA

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

Preview Lab → · Contrast checker → · Palette generator →

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