#7A97FF#7A97FF

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

Color values

HEX#7A97FF
RGBrgb(122, 151, 255)
HSLhsl(227, 100%, 74%)
HSVhsv(227, 52%, 100%)
CMYKcmyk(52.2%, 40.8%, 0%, 0%)
CIE-LABlab(64.55, 18.32, -54.93)
CIE-LCHlch(64.55, 57.90, 288.44°)
OKLaboklab(70.1% 0.0007 -0.1558)
OKLCHoklch(70.1% 0.156 270.3)
XYZxyz(37.1368, 33.4882, 99.0953)
Luminance0.3349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A97FF #FFE27A
analogous
#7ADAFF #7A97FF #A07AFF
triadic
#7A97FF #FF7A97 #97FF7A
tetradic
#7A97FF #FF7ADA #FFE27A #7AFFA0
square
#7A97FF #FF7ADA #FFE27A #7AFFA0
split-complementary
#7A97FF #FFA07A #DAFF7A
monochromatic
#0038FF #3D67FF #7A97FF #B7C7FF #E0E7FF

Accessibility & contrast

On white

2.73
#7A97FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#7A97FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A97FF
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A97FF#FFFFFF#000000##000000
##7A97FF1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA3FF
Deuteranopia (green-blind)
#5D97FD
Tritanopia (blue-blind)
#3AADBF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7a97ff;
/* rgb */ color: rgb(122, 151, 255);
/* oklch */ color: oklch(70.1% 0.156 270.3);
Tailwind
colors: {
  custom: {
    50: '#a8b5ff',
    500: '#7a97ff',
    950: '#000000',
  },
}
SCSS
$custom: #7a97ff;
$custom-light: #a8b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7a97ff",
  "rgb": {
    "r": 122,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 226.917,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70104,
    "c": 0.15581,
    "h": 270.3
  },
  "luminance": 0.33491
}

Semantic roles & 50–950 ramp

primary
#7A97FF
secondary
#F7F0D4
accent
#B300E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101118
muted
#7F8086

Preview Lab

Preview with #7A97FF

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

Preview Lab → · Contrast checker → · Palette generator →

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