#7997F5#7997F5

#7997F5 is a light, vivid blue. Relative luminance 0.328; OKLCH L 69.5% C 0.142 H 269.1°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#7997F5
RGBrgb(121, 151, 245)
HSLhsl(225, 86%, 72%)
HSVhsv(225, 51%, 96%)
CMYKcmyk(50.6%, 38.4%, 0%, 3.9%)
CIE-LABlab(63.99, 15.06, -50.36)
CIE-LCHlch(63.99, 52.56, 286.64°)
OKLaboklab(69.49% -0.0022 -0.1425)
OKLCHoklch(69.49% 0.142 269.1)
XYZxyz(35.4278, 32.7884, 90.8304)
Luminance0.3279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7997F5 #F5D779
analogous
#79D5F5 #7997F5 #9979F5
triadic
#7997F5 #F57997 #97F579
tetradic
#7997F5 #F579D5 #F5D779 #79F599
square
#7997F5 #F579D5 #F5D779 #79F599
split-complementary
#7997F5 #F59979 #D5F579
monochromatic
#1144E3 #406BF1 #7997F5 #B2C3F9 #E3E9FD

Accessibility & contrast

On white

2.78
#7997F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#7997F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7997F5
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7997F5#FFFFFF#000000##000000
##7997F51.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A1F9
Deuteranopia (green-blind)
#6496F3
Tritanopia (blue-blind)
#41ABBA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7997f5;
/* rgb */ color: rgb(121, 151, 245);
/* oklch */ color: oklch(69.5% 0.142 269.1);
Tailwind
colors: {
  custom: {
    50: '#a6b5f9',
    500: '#7997f5',
    950: '#000000',
  },
}
SCSS
$custom: #7997f5;
$custom-light: #a6b5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7997f5",
  "rgb": {
    "r": 121,
    "g": 151,
    "b": 245
  },
  "hsl": {
    "h": 225.484,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69488,
    "c": 0.14248,
    "h": 269.1
  },
  "luminance": 0.32791
}

Semantic roles & 50–950 ramp

primary
#7997F5
secondary
#F5EDD5
accent
#AC03E3
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7997F5

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

Preview Lab → · Contrast checker → · Palette generator →

#7997F5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva