#7897FA#7897FA

#7897FA is a light, vivid blue. Relative luminance 0.330; OKLCH L 69.7% C 0.150 H 269.1°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7897FA
RGBrgb(120, 151, 250)
HSLhsl(226, 93%, 73%)
HSVhsv(226, 52%, 98%)
CMYKcmyk(52%, 39.6%, 0%, 2%)
CIE-LABlab(64.18, 16.36, -52.80)
CIE-LCHlch(64.18, 55.27, 287.22°)
OKLaboklab(69.7% -0.0022 -0.1496)
OKLCHoklch(69.7% 0.15 269.1)
XYZxyz(36.0620, 33.0259, 94.8983)
Luminance0.3303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7897FA #FADB78
analogous
#78D8FA #7897FA #9A78FA
triadic
#7897FA #FA7897 #97FA78
tetradic
#7897FA #FA78D8 #FADB78 #78FA9A
square
#7897FA #FA78D8 #FADB78 #78FA9A
split-complementary
#7897FA #FA9A78 #D8FA78
monochromatic
#0940EF #3D6AF8 #7897FA #B3C4FC #E1E8FE

Accessibility & contrast

On white

2.76
#7897FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#7897FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7897FA
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7897FA#FFFFFF#000000##000000
##7897FA1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FE
Deuteranopia (green-blind)
#6096F8
Tritanopia (blue-blind)
#39ACBC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7897fa;
/* rgb */ color: rgb(120, 151, 250);
/* oklch */ color: oklch(69.7% 0.150 269.1);
Tailwind
colors: {
  custom: {
    50: '#a6b5fc',
    500: '#7897fa',
    950: '#000000',
  },
}
SCSS
$custom: #7897fa;
$custom-light: #a6b5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7897fa",
  "rgb": {
    "r": 120,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 225.692,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69703,
    "c": 0.14962,
    "h": 269.1
  },
  "luminance": 0.33028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7897FA

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

Preview Lab → · Contrast checker → · Palette generator →

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