#7C97FB#7C97FB

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

Color values

HEX#7C97FB
RGBrgb(124, 151, 251)
HSLhsl(227, 94%, 74%)
HSVhsv(227, 51%, 98%)
CMYKcmyk(50.6%, 39.8%, 0%, 1.6%)
CIE-LABlab(64.47, 17.53, -52.88)
CIE-LCHlch(64.47, 55.71, 288.34°)
OKLaboklab(70% 0.0019 -0.1497)
OKLCHoklch(70% 0.15 270.7)
XYZxyz(36.7857, 33.3809, 95.7528)
Luminance0.3338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C97FB #FBE07C
analogous
#7CD6FB #7C97FB #A07CFB
triadic
#7C97FB #FB7C97 #97FB7C
tetradic
#7C97FB #FB7CD6 #FBE07C #7CFBA0
square
#7C97FB #FB7CD6 #FBE07C #7CFBA0
split-complementary
#7C97FB #FBA07C #D6FB7C
monochromatic
#073AF5 #4168F9 #7C97FB #B7C6FD #E1E7FE

Accessibility & contrast

On white

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

On black

7.68
#7C97FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C97FB
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C97FB#FFFFFF#000000##000000
##7C97FB1.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c97fb;
/* rgb */ color: rgb(124, 151, 251);
/* oklch */ color: oklch(70.0% 0.150 270.7);
Tailwind
colors: {
  custom: {
    50: '#a9b5fd',
    500: '#7c97fb',
    950: '#000000',
  },
}
SCSS
$custom: #7c97fb;
$custom-light: #a9b5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c97fb",
  "rgb": {
    "r": 124,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 227.244,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70002,
    "c": 0.14976,
    "h": 270.7
  },
  "luminance": 0.33383
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C97FB

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

Preview Lab → · Contrast checker → · Palette generator →

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