#7B97F2#7B97F2

#7B97F2 is a light, vivid blue. Relative luminance 0.328; OKLCH L 69.4% C 0.138 H 269.6°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#7B97F2
RGBrgb(123, 151, 242)
HSLhsl(226, 82%, 72%)
HSVhsv(226, 49%, 95%)
CMYKcmyk(49.2%, 37.6%, 0%, 5.1%)
CIE-LABlab(63.96, 14.60, -48.75)
CIE-LCHlch(63.96, 50.89, 286.67°)
OKLaboklab(69.45% -0.0009 -0.1377)
OKLCHoklch(69.45% 0.138 269.6)
XYZxyz(35.2568, 32.7527, 88.4513)
Luminance0.3276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B97F2 #F2D67B
analogous
#7BD3F2 #7B97F2 #9B7BF2
triadic
#7B97F2 #F27B97 #97F27B
tetradic
#7B97F2 #F27BD3 #F2D67B #7BF29B
square
#7B97F2 #F27BD3 #F2D67B #7BF29B
split-complementary
#7B97F2 #F29B7B #D3F27B
monochromatic
#1645DD #436BED #7B97F2 #B3C3F7 #E3E9FC

Accessibility & contrast

On white

2.78
#7B97F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#7B97F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7B97F2
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B97F2#FFFFFF#000000##000000
##7B97F21.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A1F6
Deuteranopia (green-blind)
#6796F0
Tritanopia (blue-blind)
#49AAB9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7b97f2;
/* rgb */ color: rgb(123, 151, 242);
/* oklch */ color: oklch(69.4% 0.138 269.6);
Tailwind
colors: {
  custom: {
    50: '#a7b5f7',
    500: '#7b97f2',
    950: '#000000',
  },
}
SCSS
$custom: #7b97f2;
$custom-light: #a7b5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b97f2",
  "rgb": {
    "r": 123,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 225.882,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69449,
    "c": 0.13772,
    "h": 269.6
  },
  "luminance": 0.32755
}

Semantic roles & 50–950 ramp

primary
#7B97F2
secondary
#F4ECD5
accent
#AC07DE
background
#FAFBFF
surface
#F4F6FE
border
#CED0D6
text
#101117
muted
#7F8085

Preview Lab

Preview with #7B97F2

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

Preview Lab → · Contrast checker → · Palette generator →

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