#7B97FF#7B97FF

#7B97FF is a light, vivid blue. Relative luminance 0.336; OKLCH L 70.2% C 0.156 H 270.6°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#7B97FF
RGBrgb(123, 151, 255)
HSLhsl(227, 100%, 74%)
HSVhsv(227, 52%, 100%)
CMYKcmyk(51.8%, 40.8%, 0%, 0%)
CIE-LABlab(64.61, 18.53, -54.83)
CIE-LCHlch(64.61, 57.88, 288.67°)
OKLaboklab(70.16% 0.0017 -0.1555)
OKLCHoklch(70.16% 0.156 270.6)
XYZxyz(37.2791, 33.5616, 99.1020)
Luminance0.3356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B97FF #FFE37B
analogous
#7BD9FF #7B97FF #A17BFF
triadic
#7B97FF #FF7B97 #97FF7B
tetradic
#7B97FF #FF7BD9 #FFE37B #7BFFA1
square
#7B97FF #FF7BD9 #FFE37B #7BFFA1
split-complementary
#7B97FF #FFA17B #D9FF7B
monochromatic
#0137FF #3E67FF #7B97FF #B8C7FF #E0E7FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B97FF#FFFFFF#000000##000000
##7B97FF1.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)
#6CA3FF
Deuteranopia (green-blind)
#5E97FD
Tritanopia (blue-blind)
#3DADBF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7b97ff;
/* rgb */ color: rgb(123, 151, 255);
/* oklch */ color: oklch(70.2% 0.156 270.6);
Tailwind
colors: {
  custom: {
    50: '#a9b5ff',
    500: '#7b97ff',
    950: '#000000',
  },
}
SCSS
$custom: #7b97ff;
$custom-light: #a9b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7b97ff",
  "rgb": {
    "r": 123,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 227.273,
    "s": 100,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70164,
    "c": 0.15551,
    "h": 270.6
  },
  "luminance": 0.33564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B97FF

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

Preview Lab → · Contrast checker → · Palette generator →

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