#7A97EC#7A97EC

#7A97EC is a light, vivid blue. Relative luminance 0.323; OKLCH L 69.1% C 0.130 H 268.6°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#7A97EC
RGBrgb(122, 151, 236)
HSLhsl(225, 75%, 70%)
HSVhsv(225, 48%, 93%)
CMYKcmyk(48.3%, 36%, 0%, 7.5%)
CIE-LABlab(63.61, 12.58, -46.01)
CIE-LCHlch(63.61, 47.70, 285.29°)
OKLaboklab(69.07% -0.0032 -0.1297)
OKLCHoklch(69.07% 0.13 268.6)
XYZxyz(34.2281, 32.3248, 83.7763)
Luminance0.3233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A97EC #ECCF7A
analogous
#7AD0EC #7A97EC #967AEC
triadic
#7A97EC #EC7A97 #97EC7A
tetradic
#7A97EC #EC7AD0 #ECCF7A #7AEC96
square
#7A97EC #EC7AD0 #ECCF7A #7AEC96
split-complementary
#7A97EC #EC967A #D0EC7A
monochromatic
#1D4ACE #446DE4 #7A97EC #B0C1F4 #E4EAFB

Accessibility & contrast

On white

2.81
#7A97EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#7A97EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A97EC
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A97EC#FFFFFF#000000##000000
##7A97EC1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FEF
Deuteranopia (green-blind)
#6B95EA
Tritanopia (blue-blind)
#4BA9B6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7a97ec;
/* rgb */ color: rgb(122, 151, 236);
/* oklch */ color: oklch(69.1% 0.130 268.6);
Tailwind
colors: {
  custom: {
    50: '#a6b5f2',
    500: '#7a97ec',
    950: '#000000',
  },
}
SCSS
$custom: #7a97ec;
$custom-light: #a6b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a97ec",
  "rgb": {
    "r": 122,
    "g": 151,
    "b": 236
  },
  "hsl": {
    "h": 224.737,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69068,
    "c": 0.12978,
    "h": 268.6
  },
  "luminance": 0.32327
}

Semantic roles & 50–950 ramp

primary
#7A97EC
secondary
#F1E9D1
accent
#A40ED7
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7A97EC

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

Preview Lab → · Contrast checker → · Palette generator →

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