#7C8BFB#7C8BFB

#7C8BFB is a light, vivid blue. Relative luminance 0.297; OKLCH L 67.7% C 0.165 H 275.4°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7C8BFB
RGBrgb(124, 139, 251)
HSLhsl(233, 94%, 74%)
HSVhsv(233, 51%, 98%)
CMYKcmyk(50.6%, 44.6%, 0%, 1.6%)
CIE-LABlab(61.41, 24.57, -57.75)
CIE-LCHlch(61.41, 62.76, 293.05°)
OKLaboklab(67.66% 0.0154 -0.1641)
OKLCHoklch(67.66% 0.165 275.4)
XYZxyz(34.9519, 29.7132, 95.1415)
Luminance0.2972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8BFB #FBEC7C
analogous
#7CCAFB #7C8BFB #AC7CFB
triadic
#7C8BFB #FB7C8B #8BFB7C
tetradic
#7C8BFB #FB7CCA #FBEC7C #7CFBAC
square
#7C8BFB #FB7CCA #FBEC7C #7CFBAC
split-complementary
#7C8BFB #FBAC7C #CAFB7C
monochromatic
#0724F5 #4156F9 #7C8BFB #B7C0FD #E1E5FE

Accessibility & contrast

On white

3.02
#7C8BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#7C8BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8BFB
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8BFB#FFFFFF#000000##000000
##7C8BFB1.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9AFF
Deuteranopia (green-blind)
#4E8FF9
Tritanopia (blue-blind)
#46A3B7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7c8bfb;
/* rgb */ color: rgb(124, 139, 251);
/* oklch */ color: oklch(67.7% 0.165 275.4);
Tailwind
colors: {
  custom: {
    50: '#a9acfd',
    500: '#7c8bfb',
    950: '#000000',
  },
}
SCSS
$custom: #7c8bfb;
$custom-light: #a9acfd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8bfb",
  "rgb": {
    "r": 124,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 232.913,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.6766,
    "c": 0.16483,
    "h": 275.4
  },
  "luminance": 0.29715
}

Semantic roles & 50–950 ramp

primary
#7C8BFB
secondary
#F6F2D5
accent
#CA00E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #7C8BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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