#7898F8#7898F8

#7898F8 is a light, vivid blue. Relative luminance 0.332; OKLCH L 69.8% C 0.146 H 268.5°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#7898F8
RGBrgb(120, 152, 248)
HSLhsl(225, 90%, 72%)
HSVhsv(225, 52%, 97%)
CMYKcmyk(51.6%, 38.7%, 0%, 2.7%)
CIE-LABlab(64.34, 15.16, -51.45)
CIE-LCHlch(64.34, 53.64, 286.42°)
OKLaboklab(69.79% -0.0037 -0.1456)
OKLCHoklch(69.79% 0.146 268.5)
XYZxyz(35.9117, 33.2244, 93.3093)
Luminance0.3323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7898F8 #F8D878
analogous
#78D8F8 #7898F8 #9878F8
triadic
#7898F8 #F87898 #98F878
tetradic
#7898F8 #F878D8 #F8D878 #78F898
square
#7898F8 #F878D8 #F8D878 #78F898
split-complementary
#7898F8 #F89878 #D8F878
monochromatic
#0C43E9 #3E6CF5 #7898F8 #B2C4FB #E2E9FD

Accessibility & contrast

On white

2.75
#7898F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#7898F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7898F8
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7898F8#FFFFFF#000000##000000
##7898F81.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A2FC
Deuteranopia (green-blind)
#6397F6
Tritanopia (blue-blind)
#3BADBC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7898f8;
/* rgb */ color: rgb(120, 152, 248);
/* oklch */ color: oklch(69.8% 0.146 268.5);
Tailwind
colors: {
  custom: {
    50: '#a6b6fb',
    500: '#7898f8',
    950: '#000000',
  },
}
SCSS
$custom: #7898f8;
$custom-light: #a6b6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7898f8",
  "rgb": {
    "r": 120,
    "g": 152,
    "b": 248
  },
  "hsl": {
    "h": 225,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69794,
    "c": 0.1457,
    "h": 268.5
  },
  "luminance": 0.33227
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7898F8

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

Preview Lab → · Contrast checker → · Palette generator →

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