#7F97FC#7F97FC

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

Color values

HEX#7F97FC
RGBrgb(127, 151, 252)
HSLhsl(228, 95%, 74%)
HSVhsv(228, 50%, 99%)
CMYKcmyk(49.6%, 40.1%, 0%, 1.2%)
CIE-LABlab(64.70, 18.49, -53.04)
CIE-LCHlch(64.70, 56.17, 289.22°)
OKLaboklab(70.24% 0.0051 -0.1502)
OKLCHoklch(70.24% 0.15 271.9)
XYZxyz(37.3841, 33.6712, 96.6059)
Luminance0.3367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F97FC #FCE47F
analogous
#7FD6FC #7F97FC #A67FFC
triadic
#7F97FC #FC7F97 #97FC7F
tetradic
#7F97FC #FC7FD6 #FCE47F #7FFCA6
square
#7F97FC #FC7FD6 #FCE47F #7FFCA6
split-complementary
#7F97FC #FCA67F #D6FC7F
monochromatic
#0736F9 #4366FB #7F97FC #BBC8FD #E1E7FE

Accessibility & contrast

On white

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

On black

7.73
#7F97FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F97FC
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F97FC#FFFFFF#000000##000000
##7F97FC1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA3FF
Deuteranopia (green-blind)
#6298FA
Tritanopia (blue-blind)
#4AACBD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7f97fc;
/* rgb */ color: rgb(127, 151, 252);
/* oklch */ color: oklch(70.2% 0.150 271.9);
Tailwind
colors: {
  custom: {
    50: '#abb5fe',
    500: '#7f97fc',
    950: '#000000',
  },
}
SCSS
$custom: #7f97fc;
$custom-light: #abb5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7f97fc",
  "rgb": {
    "r": 127,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 228.48,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70244,
    "c": 0.15027,
    "h": 271.9
  },
  "luminance": 0.33674
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F97FC

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

Preview Lab → · Contrast checker → · Palette generator →

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