#7C8BF7#7C8BF7

#7C8BF7 is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.4% C 0.159 H 275.3°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#7C8BF7
RGBrgb(124, 139, 247)
HSLhsl(233, 88%, 73%)
HSVhsv(233, 50%, 97%)
CMYKcmyk(49.8%, 43.7%, 0%, 3.1%)
CIE-LABlab(61.19, 23.36, -55.89)
CIE-LCHlch(61.19, 60.58, 292.69°)
OKLaboklab(67.42% 0.0148 -0.1587)
OKLCHoklch(67.42% 0.159 275.3)
XYZxyz(34.3280, 29.4636, 91.8558)
Luminance0.2947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8BF7 #F7E87C
analogous
#7CC8F7 #7C8BF7 #AA7CF7
triadic
#7C8BF7 #F77C8B #8BF77C
tetradic
#7C8BF7 #F77CC8 #F7E87C #7CF7AA
square
#7C8BF7 #F77CC8 #F7E87C #7CF7AA
split-complementary
#7C8BF7 #F7AA7C #C8F77C
monochromatic
#0E29EA #4258F3 #7C8BF7 #B6BEFB #E2E5FD

Accessibility & contrast

On white

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

On black

6.89
#7C8BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8BF7
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8BF7#FFFFFF#000000##000000
##7C8BF71.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E99FB
Deuteranopia (green-blind)
#528FF5
Tritanopia (blue-blind)
#49A2B5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7c8bf7;
/* rgb */ color: rgb(124, 139, 247);
/* oklch */ color: oklch(67.4% 0.159 275.3);
Tailwind
colors: {
  custom: {
    50: '#a9acfa',
    500: '#7c8bf7',
    950: '#000000',
  },
}
SCSS
$custom: #7c8bf7;
$custom-light: #a9acfa;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8bf7",
  "rgb": {
    "r": 124,
    "g": 139,
    "b": 247
  },
  "hsl": {
    "h": 232.683,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67424,
    "c": 0.15937,
    "h": 275.3
  },
  "luminance": 0.29466
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C8BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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