#7891F7#7891F7

#7891F7 is a light, vivid blue. Relative luminance 0.310; OKLCH L 68.3% C 0.153 H 271.5°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#7891F7
RGBrgb(120, 145, 247)
HSLhsl(228, 89%, 72%)
HSVhsv(228, 51%, 97%)
CMYKcmyk(51.4%, 41.3%, 0%, 3.1%)
CIE-LABlab(62.47, 18.96, -53.87)
CIE-LCHlch(62.47, 57.11, 289.39°)
OKLaboklab(68.34% 0.0039 -0.1528)
OKLCHoklch(68.34% 0.153 271.5)
XYZxyz(34.6542, 30.9570, 92.1269)
Luminance0.3096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7891F7 #F7DE78
analogous
#78D1F7 #7891F7 #9F78F7
triadic
#7891F7 #F77891 #91F778
tetradic
#7891F7 #F778D1 #F7DE78 #78F79F
square
#7891F7 #F778D1 #F7DE78 #78F79F
split-complementary
#7891F7 #F79F78 #D1F778
monochromatic
#0E38E7 #3E62F4 #7891F7 #B2C0FA #E2E7FD

Accessibility & contrast

On white

2.92
#7891F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#7891F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7891F7
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7891F7#FFFFFF#000000##000000
##7891F71.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFB
Deuteranopia (green-blind)
#5992F5
Tritanopia (blue-blind)
#3EA7B8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7891f7;
/* rgb */ color: rgb(120, 145, 247);
/* oklch */ color: oklch(68.3% 0.153 271.5);
Tailwind
colors: {
  custom: {
    50: '#a6b0fa',
    500: '#7891f7',
    950: '#000000',
  },
}
SCSS
$custom: #7891f7;
$custom-light: #a6b0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7891f7",
  "rgb": {
    "r": 120,
    "g": 145,
    "b": 247
  },
  "hsl": {
    "h": 228.189,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68339,
    "c": 0.15283,
    "h": 271.5
  },
  "luminance": 0.30959
}

Semantic roles & 50–950 ramp

primary
#7891F7
secondary
#F5EFD5
accent
#B800E5
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7891F7

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

Preview Lab → · Contrast checker → · Palette generator →

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