#7897F7#7897F7

#7897F7 is a light, vivid blue. Relative luminance 0.328; OKLCH L 69.5% C 0.146 H 268.9°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#7897F7
RGBrgb(120, 151, 247)
HSLhsl(225, 89%, 72%)
HSVhsv(225, 51%, 97%)
CMYKcmyk(51.4%, 38.9%, 0%, 3.1%)
CIE-LABlab(64.03, 15.44, -51.39)
CIE-LCHlch(64.03, 53.66, 286.72°)
OKLaboklab(69.54% -0.0028 -0.1455)
OKLCHoklch(69.54% 0.146 268.9)
XYZxyz(35.5953, 32.8393, 92.4406)
Luminance0.3284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7897F7 #F7D878
analogous
#78D7F7 #7897F7 #9978F7
triadic
#7897F7 #F77897 #97F778
tetradic
#7897F7 #F778D7 #F7D878 #78F799
square
#7897F7 #F778D7 #F7D878 #78F799
split-complementary
#7897F7 #F79978 #D7F778
monochromatic
#0E43E7 #3E6AF4 #7897F7 #B2C4FA #E2E9FD

Accessibility & contrast

On white

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

On black

7.57
#7897F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7897F7
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7897F7#FFFFFF#000000##000000
##7897F71.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A1FB
Deuteranopia (green-blind)
#6296F5
Tritanopia (blue-blind)
#3CACBB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7897f7;
/* rgb */ color: rgb(120, 151, 247);
/* oklch */ color: oklch(69.5% 0.146 268.9);
Tailwind
colors: {
  custom: {
    50: '#a6b5fa',
    500: '#7897f7',
    950: '#000000',
  },
}
SCSS
$custom: #7897f7;
$custom-light: #a6b5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7897f7",
  "rgb": {
    "r": 120,
    "g": 151,
    "b": 247
  },
  "hsl": {
    "h": 225.354,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69537,
    "c": 0.14553,
    "h": 268.9
  },
  "luminance": 0.32842
}

Semantic roles & 50–950 ramp

primary
#7897F7
secondary
#F5EED5
accent
#AD00E5
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7897F7

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

Preview Lab → · Contrast checker → · Palette generator →

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