#7C8FE2#7C8FE2

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

Color values

HEX#7C8FE2
RGBrgb(124, 143, 226)
HSLhsl(229, 64%, 69%)
HSVhsv(229, 45%, 89%)
CMYKcmyk(45.1%, 36.7%, 0%, 11.4%)
CIE-LABlab(61.15, 14.78, -44.34)
CIE-LCHlch(61.15, 46.74, 288.43°)
OKLaboklab(67.05% 0.0062 -0.1249)
OKLCHoklch(67.05% 0.125 272.8)
XYZxyz(31.8578, 29.4192, 75.9366)
Luminance0.2942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8FE2 #E2CF7C
analogous
#7CC2E2 #7C8FE2 #9C7CE2
triadic
#7C8FE2 #E27C8F #8FE27C
tetradic
#7C8FE2 #E27CC2 #E2CF7C #7CE29C
square
#7C8FE2 #E27CC2 #E2CF7C #7CE29C
split-complementary
#7C8FE2 #E29C7C #C2E27C
monochromatic
#2944BA #4A64D7 #7C8FE2 #AEBAED #E0E5F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8FE2#FFFFFF#000000##000000
##7C8FE21.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)
#7198E5
Deuteranopia (green-blind)
#6890E0
Tritanopia (blue-blind)
#57A0AE
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7c8fe2;
/* rgb */ color: rgb(124, 143, 226);
/* oklch */ color: oklch(67.0% 0.125 272.8);
Tailwind
colors: {
  custom: {
    50: '#a6afeb',
    500: '#7c8fe2',
    950: '#000000',
  },
}
SCSS
$custom: #7c8fe2;
$custom-light: #a6afeb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8fe2",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 226
  },
  "hsl": {
    "h": 228.824,
    "s": 63.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67046,
    "c": 0.12505,
    "h": 272.8
  },
  "luminance": 0.29421
}

Semantic roles & 50–950 ramp

primary
#7C8FE2
secondary
#ECE6CE
accent
#AA1ACC
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #7C8FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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