#7891FA#7891FA

#7891FA is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.5% C 0.157 H 271.6°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#7891FA
RGBrgb(120, 145, 250)
HSLhsl(228, 93%, 73%)
HSVhsv(228, 52%, 98%)
CMYKcmyk(52%, 42%, 0%, 2%)
CIE-LABlab(62.63, 19.88, -55.26)
CIE-LCHlch(62.63, 58.73, 289.78°)
OKLaboklab(68.51% 0.0044 -0.1569)
OKLCHoklch(68.51% 0.157 271.6)
XYZxyz(35.1209, 31.1436, 94.5846)
Luminance0.3115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7891FA #FAE178
analogous
#78D2FA #7891FA #A078FA
triadic
#7891FA #FA7891 #91FA78
tetradic
#7891FA #FA78D2 #FAE178 #78FAA0
square
#7891FA #FA78D2 #FAE178 #78FAA0
split-complementary
#7891FA #FAA078 #D2FA78
monochromatic
#0935EF #3D61F8 #7891FA #B3C1FC #E1E7FE

Accessibility & contrast

On white

2.90
#7891FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#7891FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7891FA
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7891FA#FFFFFF#000000##000000
##7891FA1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFE
Deuteranopia (green-blind)
#5792F8
Tritanopia (blue-blind)
#3BA8B9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7891fa;
/* rgb */ color: rgb(120, 145, 250);
/* oklch */ color: oklch(68.5% 0.157 271.6);
Tailwind
colors: {
  custom: {
    50: '#a7b0fc',
    500: '#7891fa',
    950: '#000000',
  },
}
SCSS
$custom: #7891fa;
$custom-light: #a7b0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7891fa",
  "rgb": {
    "r": 120,
    "g": 145,
    "b": 250
  },
  "hsl": {
    "h": 228.462,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68511,
    "c": 0.15693,
    "h": 271.6
  },
  "luminance": 0.31146
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7891FA

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

Preview Lab → · Contrast checker → · Palette generator →

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