#7F97FF#7F97FF

#7F97FF is a light, vivid blue. Relative luminance 0.339; OKLCH L 70.4% C 0.154 H 272.1°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7F97FF
RGBrgb(127, 151, 255)
HSLhsl(229, 100%, 75%)
HSVhsv(229, 50%, 100%)
CMYKcmyk(50.2%, 40.8%, 0%, 0%)
CIE-LABlab(64.85, 19.39, -54.44)
CIE-LCHlch(64.85, 57.79, 289.61°)
OKLaboklab(70.41% 0.0057 -0.1543)
OKLCHoklch(70.41% 0.154 272.1)
XYZxyz(37.8632, 33.8628, 99.1294)
Luminance0.3387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F97FF #FFE77F
analogous
#7FD7FF #7F97FF #A77FFF
triadic
#7F97FF #FF7F97 #97FF7F
tetradic
#7F97FF #FF7FD7 #FFE77F #7FFFA7
square
#7F97FF #FF7FD7 #FFE77F #7FFFA7
split-complementary
#7F97FF #FFA77F #D7FF7F
monochromatic
#0534FF #4265FF #7F97FF #BCC9FF #E0E6FF

Accessibility & contrast

On white

2.70
#7F97FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#7F97FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F97FF
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F97FF#FFFFFF#000000##000000
##7F97FF1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA3FF
Deuteranopia (green-blind)
#6098FD
Tritanopia (blue-blind)
#48ADBF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7f97ff;
/* rgb */ color: rgb(127, 151, 255);
/* oklch */ color: oklch(70.4% 0.154 272.1);
Tailwind
colors: {
  custom: {
    50: '#abb5ff',
    500: '#7f97ff',
    950: '#000000',
  },
}
SCSS
$custom: #7f97ff;
$custom-light: #abb5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7f97ff",
  "rgb": {
    "r": 127,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 228.75,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.70411,
    "c": 0.15436,
    "h": 272.1
  },
  "luminance": 0.33865
}

Semantic roles & 50–950 ramp

primary
#7F97FF
secondary
#F7F1D4
accent
#BA00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086

Preview Lab

Preview with #7F97FF

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

Preview Lab → · Contrast checker → · Palette generator →

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