#7897F8#7897F8

#7897F8 is a light, vivid blue. Relative luminance 0.329; OKLCH L 69.6% C 0.147 H 269.0°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#7897F8
RGBrgb(120, 151, 248)
HSLhsl(225, 90%, 72%)
HSVhsv(225, 52%, 97%)
CMYKcmyk(51.6%, 39.1%, 0%, 2.7%)
CIE-LABlab(64.08, 15.75, -51.86)
CIE-LCHlch(64.08, 54.20, 286.89°)
OKLaboklab(69.59% -0.0026 -0.1469)
OKLCHoklch(69.59% 0.147 269)
XYZxyz(35.7501, 32.9011, 93.2554)
Luminance0.3290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7897F8 #F8D978
analogous
#78D7F8 #7897F8 #9978F8
triadic
#7897F8 #F87897 #97F878
tetradic
#7897F8 #F878D7 #F8D978 #78F899
square
#7897F8 #F878D7 #F8D978 #78F899
split-complementary
#7897F8 #F89978 #D7F878
monochromatic
#0C42E9 #3E6AF5 #7897F8 #B2C4FB #E2E9FD

Accessibility & contrast

On white

2.77
#7897F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#7897F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7897F8
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7897F8#FFFFFF#000000##000000
##7897F81.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A1FC
Deuteranopia (green-blind)
#6296F6
Tritanopia (blue-blind)
#3BACBC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7897f8;
/* rgb */ color: rgb(120, 151, 248);
/* oklch */ color: oklch(69.6% 0.147 269.0);
Tailwind
colors: {
  custom: {
    50: '#a6b5fb',
    500: '#7897f8',
    950: '#000000',
  },
}
SCSS
$custom: #7897f8;
$custom-light: #a6b5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7897f8",
  "rgb": {
    "r": 120,
    "g": 151,
    "b": 248
  },
  "hsl": {
    "h": 225.469,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69593,
    "c": 0.14689,
    "h": 269
  },
  "luminance": 0.32904
}

Semantic roles & 50–950 ramp

primary
#7897F8
secondary
#F6EED5
accent
#AE00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7897F8

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

Preview Lab → · Contrast checker → · Palette generator →

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