#7997F7#7997F7

#7997F7 is a light, vivid blue. Relative luminance 0.329; OKLCH L 69.6% C 0.145 H 269.3°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#7997F7
RGBrgb(121, 151, 247)
HSLhsl(226, 89%, 72%)
HSVhsv(226, 51%, 97%)
CMYKcmyk(51%, 38.9%, 0%, 3.1%)
CIE-LABlab(64.09, 15.66, -51.30)
CIE-LCHlch(64.09, 53.64, 286.98°)
OKLaboklab(69.6% -0.0018 -0.1452)
OKLCHoklch(69.6% 0.145 269.3)
XYZxyz(35.7348, 32.9112, 92.4471)
Luminance0.3291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7997F7 #F7D979
analogous
#79D6F7 #7997F7 #9A79F7
triadic
#7997F7 #F77997 #97F779
tetradic
#7997F7 #F779D6 #F7D979 #79F79A
square
#7997F7 #F779D6 #F7D979 #79F79A
split-complementary
#7997F7 #F79A79 #D6F779
monochromatic
#0E42E8 #3F6AF4 #7997F7 #B3C4FA #E2E9FD

Accessibility & contrast

On white

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

On black

7.58
#7997F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7997F7
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7997F7#FFFFFF#000000##000000
##7997F71.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7997f7;
/* rgb */ color: rgb(121, 151, 247);
/* oklch */ color: oklch(69.6% 0.145 269.3);
Tailwind
colors: {
  custom: {
    50: '#a7b5fa',
    500: '#7997f7',
    950: '#000000',
  },
}
SCSS
$custom: #7997f7;
$custom-light: #a7b5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7997f7",
  "rgb": {
    "r": 121,
    "g": 151,
    "b": 247
  },
  "hsl": {
    "h": 225.714,
    "s": 88.732,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69598,
    "c": 0.14521,
    "h": 269.3
  },
  "luminance": 0.32914
}

Semantic roles & 50–950 ramp

primary
#7997F7
secondary
#F5EED6
accent
#AF00E5
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7997F7

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

Preview Lab → · Contrast checker → · Palette generator →

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