#7891F8#7891F8

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

Color values

HEX#7891F8
RGBrgb(120, 145, 248)
HSLhsl(228, 90%, 72%)
HSVhsv(228, 52%, 97%)
CMYKcmyk(51.6%, 41.5%, 0%, 2.7%)
CIE-LABlab(62.52, 19.27, -54.33)
CIE-LCHlch(62.52, 57.65, 289.52°)
OKLaboklab(68.4% 0.0041 -0.1541)
OKLCHoklch(68.4% 0.154 271.5)
XYZxyz(34.8089, 31.0188, 92.9417)
Luminance0.3102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7891F8 #F8DF78
analogous
#78D1F8 #7891F8 #9F78F8
triadic
#7891F8 #F87891 #91F878
tetradic
#7891F8 #F878D1 #F8DF78 #78F89F
square
#7891F8 #F878D1 #F8DF78 #78F89F
split-complementary
#7891F8 #F89F78 #D1F878
monochromatic
#0C37E9 #3E62F5 #7891F8 #B2C0FB #E2E7FD

Accessibility & contrast

On white

2.91
#7891F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#7891F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7891F8
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7891F8#FFFFFF#000000##000000
##7891F81.002.917.207.20
#FFFFFF2.911.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFC
Deuteranopia (green-blind)
#5892F6
Tritanopia (blue-blind)
#3DA7B8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7891f8;
/* rgb */ color: rgb(120, 145, 248);
/* oklch */ color: oklch(68.4% 0.154 271.5);
Tailwind
colors: {
  custom: {
    50: '#a6b0fb',
    500: '#7891f8',
    950: '#000000',
  },
}
SCSS
$custom: #7891f8;
$custom-light: #a6b0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7891f8",
  "rgb": {
    "r": 120,
    "g": 145,
    "b": 248
  },
  "hsl": {
    "h": 228.281,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68396,
    "c": 0.1542,
    "h": 271.5
  },
  "luminance": 0.31021
}

Semantic roles & 50–950 ramp

primary
#7891F8
secondary
#F6EFD5
accent
#B900E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7891F8

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

Preview Lab → · Contrast checker → · Palette generator →

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