#7C8BF6#7C8BF6

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

Color values

HEX#7C8BF6
RGBrgb(124, 139, 246)
HSLhsl(233, 87%, 73%)
HSVhsv(233, 50%, 96%)
CMYKcmyk(49.6%, 43.5%, 0%, 3.5%)
CIE-LABlab(61.13, 23.06, -55.43)
CIE-LCHlch(61.13, 60.04, 292.59°)
OKLaboklab(67.36% 0.0146 -0.1573)
OKLCHoklch(67.36% 0.158 275.3)
XYZxyz(34.1741, 29.4021, 91.0453)
Luminance0.2940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8BF6 #F6E77C
analogous
#7CC8F6 #7C8BF6 #AA7CF6
triadic
#7C8BF6 #F67C8B #8BF67C
tetradic
#7C8BF6 #F67CC8 #F6E77C #7CF6AA
square
#7C8BF6 #F67CC8 #F6E77C #7CF6AA
split-complementary
#7C8BF6 #F6AA7C #C8F67C
monochromatic
#102AE8 #4358F2 #7C8BF6 #B5BEFA #E2E6FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8BF6#FFFFFF#000000##000000
##7C8BF61.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)
#5F99FA
Deuteranopia (green-blind)
#538FF4
Tritanopia (blue-blind)
#4AA2B5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7c8bf6;
/* rgb */ color: rgb(124, 139, 246);
/* oklch */ color: oklch(67.4% 0.158 275.3);
Tailwind
colors: {
  custom: {
    50: '#a9acfa',
    500: '#7c8bf6',
    950: '#000000',
  },
}
SCSS
$custom: #7c8bf6;
$custom-light: #a9acfa;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8bf6",
  "rgb": {
    "r": 124,
    "g": 139,
    "b": 246
  },
  "hsl": {
    "h": 232.623,
    "s": 87.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67365,
    "c": 0.158,
    "h": 275.3
  },
  "luminance": 0.29404
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C8BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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