#7989F7#7989F7

#7989F7 is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.8% C 0.163 H 274.9°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7989F7
RGBrgb(121, 137, 247)
HSLhsl(232, 89%, 72%)
HSVhsv(232, 51%, 97%)
CMYKcmyk(51%, 44.5%, 0%, 3.1%)
CIE-LABlab(60.49, 23.89, -57.02)
CIE-LCHlch(60.49, 61.83, 292.74°)
OKLaboklab(66.84% 0.0139 -0.1621)
OKLCHoklch(66.84% 0.163 274.9)
XYZxyz(33.6140, 28.6695, 91.7402)
Luminance0.2867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7989F7 #F7E779
analogous
#79C8F7 #7989F7 #A879F7
triadic
#7989F7 #F77989 #89F779
tetradic
#7989F7 #F779C8 #F7E779 #79F7A8
square
#7989F7 #F779C8 #F7E779 #79F7A8
split-complementary
#7989F7 #F7A879 #C8F779
monochromatic
#0E2AE8 #3F56F4 #7989F7 #B3BCFA #E2E6FD

Accessibility & contrast

On white

3.12
#7989F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#7989F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7989F7
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7989F7#FFFFFF#000000##000000
##7989F71.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A97FB
Deuteranopia (green-blind)
#4D8DF5
Tritanopia (blue-blind)
#42A1B4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7989f7;
/* rgb */ color: rgb(121, 137, 247);
/* oklch */ color: oklch(66.8% 0.163 274.9);
Tailwind
colors: {
  custom: {
    50: '#a7abfa',
    500: '#7989f7',
    950: '#000000',
  },
}
SCSS
$custom: #7989f7;
$custom-light: #a7abfa;
$custom-dark: #000000;
JSON
{
  "hex": "#7989f7",
  "rgb": {
    "r": 121,
    "g": 137,
    "b": 247
  },
  "hsl": {
    "h": 232.381,
    "s": 88.732,
    "l": 72.157
  },
  "oklch": {
    "l": 0.66841,
    "c": 0.16266,
    "h": 274.9
  },
  "luminance": 0.28672
}

Semantic roles & 50–950 ramp

primary
#7989F7
secondary
#F5F1D6
accent
#C800E5
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7989F7

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

Preview Lab → · Contrast checker → · Palette generator →

#7989F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva