#7B8DF7#7B8DF7

#7B8DF7 is a light, vivid blue. Relative luminance 0.300; OKLCH L 67.7% C 0.157 H 274.2°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#7B8DF7
RGBrgb(123, 141, 247)
HSLhsl(231, 89%, 73%)
HSVhsv(231, 50%, 97%)
CMYKcmyk(50.2%, 42.9%, 0%, 3.1%)
CIE-LABlab(61.63, 21.97, -55.19)
CIE-LCHlch(61.63, 59.40, 291.70°)
OKLaboklab(67.75% 0.0115 -0.1566)
OKLCHoklch(67.75% 0.157 274.2)
XYZxyz(34.4764, 29.9740, 91.9465)
Luminance0.2998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8DF7 #F7E57B
analogous
#7BCBF7 #7B8DF7 #A77BF7
triadic
#7B8DF7 #F77B8D #8DF77B
tetradic
#7B8DF7 #F77BCB #F7E57B #7BF7A7
square
#7B8DF7 #F77BCB #F7E57B #7BF7A7
split-complementary
#7B8DF7 #F7A77B #CBF77B
monochromatic
#0E2EE9 #415BF4 #7B8DF7 #B5BFFA #E2E6FD

Accessibility & contrast

On white

3.00
#7B8DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#7B8DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7B8DF7
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8DF7#FFFFFF#000000##000000
##7B8DF71.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#619AFB
Deuteranopia (green-blind)
#5590F5
Tritanopia (blue-blind)
#46A4B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7b8df7;
/* rgb */ color: rgb(123, 141, 247);
/* oklch */ color: oklch(67.7% 0.157 274.2);
Tailwind
colors: {
  custom: {
    50: '#a8aefa',
    500: '#7b8df7',
    950: '#000000',
  },
}
SCSS
$custom: #7b8df7;
$custom-light: #a8aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8df7",
  "rgb": {
    "r": 123,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 231.29,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67745,
    "c": 0.15705,
    "h": 274.2
  },
  "luminance": 0.29976
}

Semantic roles & 50–950 ramp

primary
#7B8DF7
secondary
#F5F1D6
accent
#C400E5
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7B8DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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