#7F97EE#7F97EE

#7F97EE is a light, vivid blue. Relative luminance 0.328; OKLCH L 69.5% C 0.131 H 271.0°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#7F97EE
RGBrgb(127, 151, 238)
HSLhsl(227, 77%, 72%)
HSVhsv(227, 47%, 93%)
CMYKcmyk(46.6%, 36.6%, 0%, 6.7%)
CIE-LABlab(64.01, 14.34, -46.46)
CIE-LCHlch(64.01, 48.62, 287.16°)
OKLaboklab(69.49% 0.0023 -0.1309)
OKLCHoklch(69.49% 0.131 271)
XYZxyz(35.2467, 32.8162, 85.3492)
Luminance0.3282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F97EE #EED67F
analogous
#7FCFEE #7F97EE #9F7FEE
triadic
#7F97EE #EE7F97 #97EE7F
tetradic
#7F97EE #EE7FCF #EED67F #7FEE9F
square
#7F97EE #EE7FCF #EED67F #7FEE9F
split-complementary
#7F97EE #EE9F7F #CFEE7F
monochromatic
#1C45D6 #496BE7 #7F97EE #B5C3F5 #E4E9FB

Accessibility & contrast

On white

2.78
#7F97EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#7F97EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F97EE
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F97EE#FFFFFF#000000##000000
##7F97EE1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A0F1
Deuteranopia (green-blind)
#6C97EC
Tritanopia (blue-blind)
#55A9B7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7f97ee;
/* rgb */ color: rgb(127, 151, 238);
/* oklch */ color: oklch(69.5% 0.131 271.0);
Tailwind
colors: {
  custom: {
    50: '#a9b5f4',
    500: '#7f97ee',
    950: '#000000',
  },
}
SCSS
$custom: #7f97ee;
$custom-light: #a9b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f97ee",
  "rgb": {
    "r": 127,
    "g": 151,
    "b": 238
  },
  "hsl": {
    "h": 227.027,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69489,
    "c": 0.13097,
    "h": 271
  },
  "luminance": 0.32818
}

Semantic roles & 50–950 ramp

primary
#7F97EE
secondary
#F3ECD6
accent
#AD0DD9
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7F97EE

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

Preview Lab → · Contrast checker → · Palette generator →

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