#7B8BF7#7B8BF7

#7B8BF7 is a light, vivid blue. Relative luminance 0.294; OKLCH L 67.4% C 0.160 H 274.9°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7B8BF7
RGBrgb(123, 139, 247)
HSLhsl(232, 89%, 73%)
HSVhsv(232, 50%, 97%)
CMYKcmyk(50.2%, 43.7%, 0%, 3.1%)
CIE-LABlab(61.12, 23.15, -56.00)
CIE-LCHlch(61.12, 60.60, 292.46°)
OKLaboklab(67.36% 0.0137 -0.159)
OKLCHoklch(67.36% 0.16 274.9)
XYZxyz(34.1842, 29.3895, 91.8491)
Luminance0.2939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8BF7 #F7E77B
analogous
#7BC9F7 #7B8BF7 #A97BF7
triadic
#7B8BF7 #F77B8B #8BF77B
tetradic
#7B8BF7 #F77BC9 #F7E77B #7BF7A9
square
#7B8BF7 #F77BC9 #F7E77B #7BF7A9
split-complementary
#7B8BF7 #F7A97B #C9F77B
monochromatic
#0E2AE9 #4158F4 #7B8BF7 #B5BEFA #E2E6FD

Accessibility & contrast

On white

3.05
#7B8BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#7B8BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8BF7
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8BF7#FFFFFF#000000##000000
##7B8BF71.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E99FB
Deuteranopia (green-blind)
#518FF5
Tritanopia (blue-blind)
#47A2B5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7b8bf7;
/* rgb */ color: rgb(123, 139, 247);
/* oklch */ color: oklch(67.4% 0.160 274.9);
Tailwind
colors: {
  custom: {
    50: '#a8acfa',
    500: '#7b8bf7',
    950: '#000000',
  },
}
SCSS
$custom: #7b8bf7;
$custom-light: #a8acfa;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8bf7",
  "rgb": {
    "r": 123,
    "g": 139,
    "b": 247
  },
  "hsl": {
    "h": 232.258,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67358,
    "c": 0.1596,
    "h": 274.9
  },
  "luminance": 0.29392
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B8BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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