#7997FA#7997FA

#7997FA is a light, vivid blue. Relative luminance 0.331; OKLCH L 69.8% C 0.149 H 269.5°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#7997FA
RGBrgb(121, 151, 250)
HSLhsl(226, 93%, 73%)
HSVhsv(226, 52%, 98%)
CMYKcmyk(51.6%, 39.6%, 0%, 2%)
CIE-LABlab(64.24, 16.57, -52.70)
CIE-LCHlch(64.24, 55.25, 287.46°)
OKLaboklab(69.76% -0.0012 -0.1493)
OKLCHoklch(69.76% 0.149 269.5)
XYZxyz(36.2014, 33.0978, 94.9048)
Luminance0.3310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7997FA #FADC79
analogous
#79D7FA #7997FA #9C79FA
triadic
#7997FA #FA7997 #97FA79
tetradic
#7997FA #FA79D7 #FADC79 #79FA9C
square
#7997FA #FA79D7 #FADC79 #79FA9C
split-complementary
#7997FA #FA9C79 #D7FA79
monochromatic
#093FF0 #3E69F8 #7997FA #B4C5FC #E2E8FE

Accessibility & contrast

On white

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

On black

7.62
#7997FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7997FA
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7997FA#FFFFFF#000000##000000
##7997FA1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FE
Deuteranopia (green-blind)
#6196F8
Tritanopia (blue-blind)
#3CACBC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7997fa;
/* rgb */ color: rgb(121, 151, 250);
/* oklch */ color: oklch(69.8% 0.149 269.5);
Tailwind
colors: {
  custom: {
    50: '#a7b5fc',
    500: '#7997fa',
    950: '#000000',
  },
}
SCSS
$custom: #7997fa;
$custom-light: #a7b5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7997fa",
  "rgb": {
    "r": 121,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 226.047,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69763,
    "c": 0.14931,
    "h": 269.5
  },
  "luminance": 0.331
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7997FA

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

Preview Lab → · Contrast checker → · Palette generator →

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