#7B97FA#7B97FA

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

Color values

HEX#7B97FA
RGBrgb(123, 151, 250)
HSLhsl(227, 93%, 73%)
HSVhsv(227, 51%, 98%)
CMYKcmyk(50.8%, 39.6%, 0%, 2%)
CIE-LABlab(64.36, 17.01, -52.51)
CIE-LCHlch(64.36, 55.19, 287.95°)
OKLaboklab(69.88% 0.0007 -0.1487)
OKLCHoklch(69.88% 0.149 270.3)
XYZxyz(36.4847, 33.2439, 94.9181)
Luminance0.3325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B97FA #FADE7B
analogous
#7BD6FA #7B97FA #9E7BFA
triadic
#7B97FA #FA7B97 #97FA7B
tetradic
#7B97FA #FA7BD6 #FADE7B #7BFA9E
square
#7B97FA #FA7BD6 #FADE7B #7BFA9E
split-complementary
#7B97FA #FA9E7B #D6FA7B
monochromatic
#093CF1 #4069F8 #7B97FA #B6C5FC #E2E8FE

Accessibility & contrast

On white

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

On black

7.65
#7B97FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7B97FA
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B97FA#FFFFFF#000000##000000
##7B97FA1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FE
Deuteranopia (green-blind)
#6297F8
Tritanopia (blue-blind)
#42ACBC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7b97fa;
/* rgb */ color: rgb(123, 151, 250);
/* oklch */ color: oklch(69.9% 0.149 270.3);
Tailwind
colors: {
  custom: {
    50: '#a8b5fc',
    500: '#7b97fa',
    950: '#000000',
  },
}
SCSS
$custom: #7b97fa;
$custom-light: #a8b5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b97fa",
  "rgb": {
    "r": 123,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 226.772,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69885,
    "c": 0.14869,
    "h": 270.3
  },
  "luminance": 0.33246
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B97FA

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

Preview Lab → · Contrast checker → · Palette generator →

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