#7B97FB#7B97FB

#7B97FB is a light, vivid blue. Relative luminance 0.333; OKLCH L 69.9% C 0.150 H 270.4°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#7B97FB
RGBrgb(123, 151, 251)
HSLhsl(227, 94%, 73%)
HSVhsv(227, 51%, 98%)
CMYKcmyk(51%, 39.8%, 0%, 1.6%)
CIE-LABlab(64.41, 17.31, -52.97)
CIE-LCHlch(64.41, 55.73, 288.10°)
OKLaboklab(69.94% 0.0009 -0.1501)
OKLCHoklch(69.94% 0.15 270.4)
XYZxyz(36.6419, 33.3068, 95.7461)
Luminance0.3331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B97FB #FBDF7B
analogous
#7BD7FB #7B97FB #9F7BFB
triadic
#7B97FB #FB7B97 #97FB7B
tetradic
#7B97FB #FB7BD7 #FBDF7B #7BFB9F
square
#7B97FB #FB7BD7 #FBDF7B #7BFB9F
split-complementary
#7B97FB #FB9F7B #D7FB7B
monochromatic
#073BF4 #4068F9 #7B97FB #B6C6FD #E1E8FE

Accessibility & contrast

On white

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

On black

7.66
#7B97FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7B97FB
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B97FB#FFFFFF#000000##000000
##7B97FB1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FF
Deuteranopia (green-blind)
#6197F9
Tritanopia (blue-blind)
#41ACBD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7b97fb;
/* rgb */ color: rgb(123, 151, 251);
/* oklch */ color: oklch(69.9% 0.150 270.4);
Tailwind
colors: {
  custom: {
    50: '#a8b5fd',
    500: '#7b97fb',
    950: '#000000',
  },
}
SCSS
$custom: #7b97fb;
$custom-light: #a8b5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b97fb",
  "rgb": {
    "r": 123,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 226.875,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.6994,
    "c": 0.15006,
    "h": 270.4
  },
  "luminance": 0.33309
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B97FB

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

Preview Lab → · Contrast checker → · Palette generator →

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