#7B97FC#7B97FC

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

Color values

HEX#7B97FC
RGBrgb(123, 151, 252)
HSLhsl(227, 96%, 74%)
HSVhsv(227, 51%, 99%)
CMYKcmyk(51.2%, 40.1%, 0%, 1.2%)
CIE-LABlab(64.46, 17.62, -53.44)
CIE-LCHlch(64.46, 56.27, 288.24°)
OKLaboklab(70% 0.0011 -0.1514)
OKLCHoklch(70% 0.151 270.4)
XYZxyz(36.8000, 33.3700, 96.5785)
Luminance0.3337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B97FC #FCE07B
analogous
#7BD7FC #7B97FC #9F7BFC
triadic
#7B97FC #FC7B97 #97FC7B
tetradic
#7B97FC #FC7BD7 #FCE07B #7BFC9F
square
#7B97FC #FC7BD7 #FCE07B #7BFC9F
split-complementary
#7B97FC #FC9F7B #D7FC7B
monochromatic
#063AF7 #3F68FB #7B97FC #B7C6FD #E1E7FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B97FC#FFFFFF#000000##000000
##7B97FC1.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)
#6EA2FF
Deuteranopia (green-blind)
#6097FA
Tritanopia (blue-blind)
#40ADBD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7b97fc;
/* rgb */ color: rgb(123, 151, 252);
/* oklch */ color: oklch(70.0% 0.151 270.4);
Tailwind
colors: {
  custom: {
    50: '#a8b5fe',
    500: '#7b97fc',
    950: '#000000',
  },
}
SCSS
$custom: #7b97fc;
$custom-light: #a8b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7b97fc",
  "rgb": {
    "r": 123,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 226.977,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69996,
    "c": 0.15142,
    "h": 270.4
  },
  "luminance": 0.33372
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B97FC

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

Preview Lab → · Contrast checker → · Palette generator →

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