#7A97FD#7A97FD

#7A97FD is a light, vivid blue. Relative luminance 0.334; OKLCH L 70.0% C 0.153 H 270.1°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#7A97FD
RGBrgb(122, 151, 253)
HSLhsl(227, 97%, 74%)
HSVhsv(227, 52%, 99%)
CMYKcmyk(51.8%, 40.3%, 0%, 0.8%)
CIE-LABlab(64.45, 17.70, -54.00)
CIE-LCHlch(64.45, 56.83, 288.15°)
OKLaboklab(69.99% 0.0003 -0.1531)
OKLCHoklch(69.99% 0.153 270.1)
XYZxyz(36.8165, 33.3601, 97.4086)
Luminance0.3336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A97FD #FDE07A
analogous
#7AD8FD #7A97FD #9E7AFD
triadic
#7A97FD #FD7A97 #97FD7A
tetradic
#7A97FD #FD7AD8 #FDE07A #7AFD9E
square
#7A97FD #FD7AD8 #FDE07A #7AFD9E
split-complementary
#7A97FD #FD9E7A #D8FD7A
monochromatic
#043AF9 #3E68FC #7A97FD #B6C6FE #E1E7FF

Accessibility & contrast

On white

2.74
#7A97FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#7A97FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A97FD
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A97FD#FFFFFF#000000##000000
##7A97FD1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA2FF
Deuteranopia (green-blind)
#5F97FB
Tritanopia (blue-blind)
#3CADBE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7a97fd;
/* rgb */ color: rgb(122, 151, 253);
/* oklch */ color: oklch(70.0% 0.153 270.1);
Tailwind
colors: {
  custom: {
    50: '#a8b5fe',
    500: '#7a97fd',
    950: '#000000',
  },
}
SCSS
$custom: #7a97fd;
$custom-light: #a8b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7a97fd",
  "rgb": {
    "r": 122,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 226.718,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69991,
    "c": 0.15309,
    "h": 270.1
  },
  "luminance": 0.33363
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A97FD

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

Preview Lab → · Contrast checker → · Palette generator →

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