#7F97FB#7F97FB

#7F97FB is a light, vivid blue. Relative luminance 0.336; OKLCH L 70.2% C 0.149 H 271.9°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#7F97FB
RGBrgb(127, 151, 251)
HSLhsl(228, 94%, 74%)
HSVhsv(228, 49%, 98%)
CMYKcmyk(49.4%, 39.8%, 0%, 1.6%)
CIE-LABlab(64.65, 18.19, -52.58)
CIE-LCHlch(64.65, 55.63, 289.09°)
OKLaboklab(70.19% 0.0049 -0.1488)
OKLCHoklch(70.19% 0.149 271.9)
XYZxyz(37.2260, 33.6079, 95.7735)
Luminance0.3361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F97FB #FBE37F
analogous
#7FD5FB #7F97FB #A57FFB
triadic
#7F97FB #FB7F97 #97FB7F
tetradic
#7F97FB #FB7FD5 #FBE37F #7FFBA5
square
#7F97FB #FB7FD5 #FBE37F #7FFBA5
split-complementary
#7F97FB #FBA57F #D5FB7F
monochromatic
#0837F7 #4467F9 #7F97FB #BAC7FD #E1E7FE

Accessibility & contrast

On white

2.72
#7F97FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#7F97FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F97FB
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F97FB#FFFFFF#000000##000000
##7F97FB1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FF
Deuteranopia (green-blind)
#6398F9
Tritanopia (blue-blind)
#4BACBD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7f97fb;
/* rgb */ color: rgb(127, 151, 251);
/* oklch */ color: oklch(70.2% 0.149 271.9);
Tailwind
colors: {
  custom: {
    50: '#abb5fd',
    500: '#7f97fb',
    950: '#000000',
  },
}
SCSS
$custom: #7f97fb;
$custom-light: #abb5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f97fb",
  "rgb": {
    "r": 127,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 228.387,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70189,
    "c": 0.14889,
    "h": 271.9
  },
  "luminance": 0.3361
}

Semantic roles & 50–950 ramp

primary
#7F97FB
secondary
#F6F0D5
accent
#B900E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#111118
muted
#808086

Preview Lab

Preview with #7F97FB

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

Preview Lab → · Contrast checker → · Palette generator →

#7F97FB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva