#7C7EF0#7C7EF0

#7C7EF0 is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.5% C 0.167 H 279.9°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7C7EF0
RGBrgb(124, 126, 240)
HSLhsl(239, 79%, 71%)
HSVhsv(239, 48%, 94%)
CMYKcmyk(48.3%, 47.5%, 0%, 5.9%)
CIE-LABlab(57.56, 28.95, -57.83)
CIE-LCHlch(57.56, 64.67, 296.59°)
OKLaboklab(64.54% 0.0286 -0.1644)
OKLCHoklch(64.54% 0.167 279.9)
XYZxyz(31.4964, 25.4964, 85.6828)
Luminance0.2550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7EF0 #F0EE7C
analogous
#7CB8F0 #7C7EF0 #B47CF0
triadic
#7C7EF0 #F07C7E #7EF07C
tetradic
#7C7EF0 #F07CB8 #F0EE7C #7CF0B4
square
#7C7EF0 #F07CB8 #F0EE7C #7CF0B4
split-complementary
#7C7EF0 #F0B47C #B8F07C
monochromatic
#191CD9 #4548EA #7C7EF0 #B3B4F6 #E4E4FC

Accessibility & contrast

On white

3.44
#7C7EF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#7C7EF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7EF0
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7EF0#FFFFFF#000000##000000
##7C7EF01.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8FF4
Deuteranopia (green-blind)
#4286ED
Tritanopia (blue-blind)
#5196AC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7c7ef0;
/* rgb */ color: rgb(124, 126, 240);
/* oklch */ color: oklch(64.5% 0.167 279.9);
Tailwind
colors: {
  custom: {
    50: '#a8a3f5',
    500: '#7c7ef0',
    950: '#000000',
  },
}
SCSS
$custom: #7c7ef0;
$custom-light: #a8a3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7ef0",
  "rgb": {
    "r": 124,
    "g": 126,
    "b": 240
  },
  "hsl": {
    "h": 238.966,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.64542,
    "c": 0.16692,
    "h": 279.9
  },
  "luminance": 0.25498
}

Semantic roles & 50–950 ramp

primary
#7C7EF0
secondary
#F3F2D5
accent
#D80ADC
background
#FAFAFF
surface
#F4F3FE
border
#CECDD6
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7C7EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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