#7F97FA#7F97FA

#7F97FA is a light, vivid blue. Relative luminance 0.335; OKLCH L 70.1% C 0.148 H 271.8°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#7F97FA
RGBrgb(127, 151, 250)
HSLhsl(228, 92%, 74%)
HSVhsv(228, 49%, 98%)
CMYKcmyk(49.2%, 39.6%, 0%, 2%)
CIE-LABlab(64.60, 17.90, -52.11)
CIE-LCHlch(64.60, 55.10, 288.95°)
OKLaboklab(70.13% 0.0047 -0.1474)
OKLCHoklch(70.13% 0.148 271.8)
XYZxyz(37.0688, 33.5450, 94.9455)
Luminance0.3355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F97FA #FAE27F
analogous
#7FD5FA #7F97FA #A57FFA
triadic
#7F97FA #FA7F97 #97FA7F
tetradic
#7F97FA #FA7FD5 #FAE27F #7FFAA5
square
#7F97FA #FA7FD5 #FAE27F #7FFAA5
split-complementary
#7F97FA #FAA57F #D5FA7F
monochromatic
#0A38F5 #4467F8 #7F97FA #BAC7FC #E2E7FE

Accessibility & contrast

On white

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

On black

7.71
#7F97FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F97FA
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F97FA#FFFFFF#000000##000000
##7F97FA1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A2FE
Deuteranopia (green-blind)
#6498F8
Tritanopia (blue-blind)
#4CACBC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7f97fa;
/* rgb */ color: rgb(127, 151, 250);
/* oklch */ color: oklch(70.1% 0.148 271.8);
Tailwind
colors: {
  custom: {
    50: '#aab5fc',
    500: '#7f97fa',
    950: '#000000',
  },
}
SCSS
$custom: #7f97fa;
$custom-light: #aab5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f97fa",
  "rgb": {
    "r": 127,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 228.293,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70134,
    "c": 0.14753,
    "h": 271.8
  },
  "luminance": 0.33547
}

Semantic roles & 50–950 ramp

primary
#7F97FA
secondary
#F6F0D5
accent
#B900E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#111117
muted
#808085

Preview Lab

Preview with #7F97FA

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

Preview Lab → · Contrast checker → · Palette generator →

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