#7A97FA#7A97FA

#7A97FA is a light, vivid blue. Relative luminance 0.332; OKLCH L 69.8% C 0.149 H 269.9°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#7A97FA
RGBrgb(122, 151, 250)
HSLhsl(226, 93%, 73%)
HSVhsv(226, 51%, 98%)
CMYKcmyk(51.2%, 39.6%, 0%, 2%)
CIE-LABlab(64.30, 16.79, -52.60)
CIE-LCHlch(64.30, 55.22, 287.70°)
OKLaboklab(69.82% -0.0003 -0.149)
OKLCHoklch(69.82% 0.149 269.9)
XYZxyz(36.3424, 33.1705, 94.9114)
Luminance0.3317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A97FA #FADD7A
analogous
#7AD7FA #7A97FA #9D7AFA
triadic
#7A97FA #FA7A97 #97FA7A
tetradic
#7A97FA #FA7AD7 #FADD7A #7AFA9D
square
#7A97FA #FA7AD7 #FADD7A #7AFA9D
split-complementary
#7A97FA #FA9D7A #D7FA7A
monochromatic
#093DF1 #3F69F8 #7A97FA #B5C5FC #E2E8FE

Accessibility & contrast

On white

2.75
#7A97FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#7A97FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A97FA
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A97FA#FFFFFF#000000##000000
##7A97FA1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FE
Deuteranopia (green-blind)
#6197F8
Tritanopia (blue-blind)
#3FACBC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7a97fa;
/* rgb */ color: rgb(122, 151, 250);
/* oklch */ color: oklch(69.8% 0.149 269.9);
Tailwind
colors: {
  custom: {
    50: '#a8b5fc',
    500: '#7a97fa',
    950: '#000000',
  },
}
SCSS
$custom: #7a97fa;
$custom-light: #a8b5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a97fa",
  "rgb": {
    "r": 122,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 226.406,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69824,
    "c": 0.149,
    "h": 269.9
  },
  "luminance": 0.33173
}

Semantic roles & 50–950 ramp

primary
#7A97FA
secondary
#F6EFD5
accent
#B200E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7A97FA

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

Preview Lab → · Contrast checker → · Palette generator →

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