#7C7DF6#7C7DF6

#7C7DF6 is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.7% C 0.176 H 279.9°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7C7DF6
RGBrgb(124, 125, 246)
HSLhsl(240, 87%, 73%)
HSVhsv(240, 50%, 96%)
CMYKcmyk(49.6%, 49.2%, 0%, 3.5%)
CIE-LABlab(57.66, 31.33, -60.98)
CIE-LCHlch(57.66, 68.56, 297.19°)
OKLaboklab(64.73% 0.0304 -0.1737)
OKLCHoklch(64.73% 0.176 279.9)
XYZxyz(32.2752, 25.6043, 90.4124)
Luminance0.2561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7DF6 #F6F57C
analogous
#7CBAF6 #7C7DF6 #B87CF6
triadic
#7C7DF6 #F67C7D #7DF67C
tetradic
#7C7DF6 #F67CBA #F6F57C #7CF6B8
square
#7C7DF6 #F67CBA #F6F57C #7CF6B8
split-complementary
#7C7DF6 #F6B87C #BAF67C
monochromatic
#1012E8 #4344F2 #7C7DF6 #B5B6FA #E2E3FD

Accessibility & contrast

On white

3.43
#7C7DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#7C7DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7DF6
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7DF6#FFFFFF#000000##000000
##7C7DF61.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#448FFA
Deuteranopia (green-blind)
#3986F3
Tritanopia (blue-blind)
#4C97AE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7c7df6;
/* rgb */ color: rgb(124, 125, 246);
/* oklch */ color: oklch(64.7% 0.176 279.9);
Tailwind
colors: {
  custom: {
    50: '#a9a2fa',
    500: '#7c7df6',
    950: '#000000',
  },
}
SCSS
$custom: #7c7df6;
$custom-light: #a9a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7df6",
  "rgb": {
    "r": 124,
    "g": 125,
    "b": 246
  },
  "hsl": {
    "h": 239.508,
    "s": 87.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.64732,
    "c": 0.17635,
    "h": 279.9
  },
  "luminance": 0.25606
}

Semantic roles & 50–950 ramp

primary
#7C7DF6
secondary
#F5F5D6
accent
#E202E4
background
#FAFAFF
surface
#F5F3FF
border
#CFCDD7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7C7DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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