#7899F7#7899F7

#7899F7 is a light, vivid blue. Relative luminance 0.335; OKLCH L 69.9% C 0.143 H 268.0°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#7899F7
RGBrgb(120, 153, 247)
HSLhsl(224, 89%, 72%)
HSVhsv(224, 51%, 97%)
CMYKcmyk(51.4%, 38.1%, 0%, 3.1%)
CIE-LABlab(64.55, 14.28, -50.57)
CIE-LCHlch(64.55, 52.54, 285.77°)
OKLaboklab(69.94% -0.0051 -0.1431)
OKLCHoklch(69.94% 0.143 268)
XYZxyz(35.9199, 33.4885, 92.5488)
Luminance0.3349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7899F7 #F7D678
analogous
#78D9F7 #7899F7 #9678F7
triadic
#7899F7 #F77899 #99F778
tetradic
#7899F7 #F778D9 #F7D678 #78F796
square
#7899F7 #F778D9 #F7D678 #78F796
split-complementary
#7899F7 #F79678 #D9F778
monochromatic
#0E46E7 #3E6DF4 #7899F7 #B2C5FA #E2E9FD

Accessibility & contrast

On white

2.73
#7899F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#7899F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7899F7
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7899F7#FFFFFF#000000##000000
##7899F71.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A3FB
Deuteranopia (green-blind)
#6597F5
Tritanopia (blue-blind)
#3CADBC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7899f7;
/* rgb */ color: rgb(120, 153, 247);
/* oklch */ color: oklch(69.9% 0.143 268.0);
Tailwind
colors: {
  custom: {
    50: '#a6b6fa',
    500: '#7899f7',
    950: '#000000',
  },
}
SCSS
$custom: #7899f7;
$custom-light: #a6b6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7899f7",
  "rgb": {
    "r": 120,
    "g": 153,
    "b": 247
  },
  "hsl": {
    "h": 224.409,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69941,
    "c": 0.14315,
    "h": 268
  },
  "luminance": 0.33491
}

Semantic roles & 50–950 ramp

primary
#7899F7
secondary
#F5EDD5
accent
#AA00E5
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7899F7

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

Preview Lab → · Contrast checker → · Palette generator →

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