#7899FA#7899FA

#7899FA is a light, vivid blue. Relative luminance 0.337; OKLCH L 70.1% C 0.147 H 268.3°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#7899FA
RGBrgb(120, 153, 250)
HSLhsl(225, 93%, 73%)
HSVhsv(225, 52%, 98%)
CMYKcmyk(52%, 38.8%, 0%, 2%)
CIE-LABlab(64.70, 15.19, -51.97)
CIE-LCHlch(64.70, 54.15, 286.30°)
OKLaboklab(70.1% -0.0044 -0.1472)
OKLCHoklch(70.1% 0.147 268.3)
XYZxyz(36.3866, 33.6751, 95.0065)
Luminance0.3368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7899FA #FAD978
analogous
#78DAFA #7899FA #9878FA
triadic
#7899FA #FA7899 #99FA78
tetradic
#7899FA #FA78DA #FAD978 #78FA98
square
#7899FA #FA78DA #FAD978 #78FA98
split-complementary
#7899FA #FA9878 #DAFA78
monochromatic
#0943EF #3D6CF8 #7899FA #B3C6FC #E1E9FE

Accessibility & contrast

On white

2.71
#7899FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#7899FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7899FA
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7899FA#FFFFFF#000000##000000
##7899FA1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A3FE
Deuteranopia (green-blind)
#6398F8
Tritanopia (blue-blind)
#39AEBD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7899fa;
/* rgb */ color: rgb(120, 153, 250);
/* oklch */ color: oklch(70.1% 0.147 268.3);
Tailwind
colors: {
  custom: {
    50: '#a6b6fc',
    500: '#7899fa',
    950: '#000000',
  },
}
SCSS
$custom: #7899fa;
$custom-light: #a6b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7899fa",
  "rgb": {
    "r": 120,
    "g": 153,
    "b": 250
  },
  "hsl": {
    "h": 224.769,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70105,
    "c": 0.14723,
    "h": 268.3
  },
  "luminance": 0.33678
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7899FA

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

Preview Lab → · Contrast checker → · Palette generator →

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