#7C7EC6#7C7EC6

#7C7EC6 is a light, moderate blue. Relative luminance 0.233; OKLCH L 62.2% C 0.108 H 281.6°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7C7EC6
RGBrgb(124, 126, 198)
HSLhsl(238, 39%, 63%)
HSVhsv(238, 37%, 78%)
CMYKcmyk(37.4%, 36.4%, 0%, 22.4%)
CIE-LABlab(55.36, 16.82, -37.72)
CIE-LCHlch(55.36, 41.30, 294.04°)
OKLaboklab(62.16% 0.0216 -0.1057)
OKLCHoklch(62.16% 0.108 281.6)
XYZxyz(25.9632, 23.2831, 56.5412)
Luminance0.2328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7EC6 #C6C47C
analogous
#7CA3C6 #7C7EC6 #9F7CC6
triadic
#7C7EC6 #C67C7E #7EC67C
tetradic
#7C7EC6 #C67CA3 #C6C47C #7CC69F
square
#7C7EC6 #C67CA3 #C6C47C #7CC69F
split-complementary
#7C7EC6 #C69F7C #A3C67C
monochromatic
#3D3F8B #5154B3 #7C7EC6 #A7A8D9 #D1D2EB

Accessibility & contrast

On white

3.71
#7C7EC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#7C7EC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7EC6
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7EC6#FFFFFF#000000##000000
##7C7EC61.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6787C9
Deuteranopia (green-blind)
#6382C4
Tritanopia (blue-blind)
#678C99
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7c7ec6;
/* rgb */ color: rgb(124, 126, 198);
/* oklch */ color: oklch(62.2% 0.108 281.6);
Tailwind
colors: {
  custom: {
    50: '#a4a3d7',
    500: '#7c7ec6',
    950: '#000000',
  },
}
SCSS
$custom: #7c7ec6;
$custom-light: #a4a3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7ec6",
  "rgb": {
    "r": 124,
    "g": 126,
    "b": 198
  },
  "hsl": {
    "h": 238.378,
    "s": 39.362,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62159,
    "c": 0.10788,
    "h": 281.6
  },
  "luminance": 0.23284
}

Semantic roles & 50–950 ramp

primary
#7C7EC6
secondary
#DCDBC2
accent
#AF33B2
background
#FAFAFD
surface
#F4F3FA
border
#CECDD3
text
#0F0F14
muted
#7F7F83

Preview Lab

Preview with #7C7EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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