#7896FA#7896FA

#7896FA is a light, vivid blue. Relative luminance 0.327; OKLCH L 69.5% C 0.151 H 269.6°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#7896FA
RGBrgb(120, 150, 250)
HSLhsl(226, 93%, 73%)
HSVhsv(226, 52%, 98%)
CMYKcmyk(52%, 40%, 0%, 2%)
CIE-LABlab(63.92, 16.94, -53.21)
CIE-LCHlch(63.92, 55.84, 287.66°)
OKLaboklab(69.5% -0.0011 -0.1508)
OKLCHoklch(69.5% 0.151 269.6)
XYZxyz(35.9017, 32.7054, 94.8449)
Luminance0.3271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7896FA #FADC78
analogous
#78D7FA #7896FA #9B78FA
triadic
#7896FA #FA7896 #96FA78
tetradic
#7896FA #FA78D7 #FADC78 #78FA9B
square
#7896FA #FA78D7 #FADC78 #78FA9B
split-complementary
#7896FA #FA9B78 #D7FA78
monochromatic
#093EEF #3D68F8 #7896FA #B3C4FC #E1E8FE

Accessibility & contrast

On white

2.78
#7896FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#7896FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7896FA
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7896FA#FFFFFF#000000##000000
##7896FA1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA1FE
Deuteranopia (green-blind)
#5F96F8
Tritanopia (blue-blind)
#39ACBC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7896fa;
/* rgb */ color: rgb(120, 150, 250);
/* oklch */ color: oklch(69.5% 0.151 269.6);
Tailwind
colors: {
  custom: {
    50: '#a6b4fc',
    500: '#7896fa',
    950: '#000000',
  },
}
SCSS
$custom: #7896fa;
$custom-light: #a6b4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7896fa",
  "rgb": {
    "r": 120,
    "g": 150,
    "b": 250
  },
  "hsl": {
    "h": 226.154,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69503,
    "c": 0.15082,
    "h": 269.6
  },
  "luminance": 0.32708
}

Semantic roles & 50–950 ramp

primary
#7896FA
secondary
#F6EED5
accent
#B100E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7896FA

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

Preview Lab → · Contrast checker → · Palette generator →

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