#7891F5#7891F5

#7891F5 is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.2% C 0.150 H 271.4°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7891F5
RGBrgb(120, 145, 245)
HSLhsl(228, 86%, 72%)
HSVhsv(228, 51%, 96%)
CMYKcmyk(51%, 40.8%, 0%, 3.9%)
CIE-LABlab(62.37, 18.35, -52.93)
CIE-LCHlch(62.37, 56.02, 289.12°)
OKLaboklab(68.23% 0.0036 -0.15)
OKLCHoklch(68.23% 0.15 271.4)
XYZxyz(34.3472, 30.8342, 90.5102)
Luminance0.3084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7891F5 #F5DC78
analogous
#78D0F5 #7891F5 #9E78F5
triadic
#7891F5 #F57891 #91F578
tetradic
#7891F5 #F578D0 #F5DC78 #78F59E
square
#7891F5 #F578D0 #F5DC78 #78F59E
split-complementary
#7891F5 #F59E78 #D0F578
monochromatic
#113BE2 #3F63F1 #7891F5 #B1BFF9 #E3E8FD

Accessibility & contrast

On white

2.93
#7891F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#7891F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7891F5
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7891F5#FFFFFF#000000##000000
##7891F51.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#689CF9
Deuteranopia (green-blind)
#5B92F3
Tritanopia (blue-blind)
#40A6B7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7891f5;
/* rgb */ color: rgb(120, 145, 245);
/* oklch */ color: oklch(68.2% 0.150 271.4);
Tailwind
colors: {
  custom: {
    50: '#a6b0f9',
    500: '#7891f5',
    950: '#000000',
  },
}
SCSS
$custom: #7891f5;
$custom-light: #a6b0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7891f5",
  "rgb": {
    "r": 120,
    "g": 145,
    "b": 245
  },
  "hsl": {
    "h": 228,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68226,
    "c": 0.15009,
    "h": 271.4
  },
  "luminance": 0.30836
}

Semantic roles & 50–950 ramp

primary
#7891F5
secondary
#F4EED4
accent
#B603E3
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7891F5

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

Preview Lab → · Contrast checker → · Palette generator →

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