#7C7EF3#7C7EF3

#7C7EF3 is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.7% C 0.171 H 279.8°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7C7EF3
RGBrgb(124, 126, 243)
HSLhsl(239, 83%, 72%)
HSVhsv(239, 49%, 95%)
CMYKcmyk(49%, 48.1%, 0%, 4.7%)
CIE-LABlab(57.73, 29.84, -59.21)
CIE-LCHlch(57.73, 66.31, 296.75°)
OKLaboklab(64.73% 0.029 -0.1685)
OKLCHoklch(64.73% 0.171 279.8)
XYZxyz(31.9457, 25.6761, 88.0493)
Luminance0.2568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7EF3 #F3F17C
analogous
#7CB9F3 #7C7EF3 #B67CF3
triadic
#7C7EF3 #F37C7E #7EF37C
tetradic
#7C7EF3 #F37CB9 #F3F17C #7CF3B6
square
#7C7EF3 #F37CB9 #F3F17C #7CF3B6
split-complementary
#7C7EF3 #F3B67C #B9F37C
monochromatic
#1518E0 #4447EE #7C7EF3 #B4B5F8 #E3E3FC

Accessibility & contrast

On white

3.42
#7C7EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#7C7EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7EF3
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7EF3#FFFFFF#000000##000000
##7C7EF31.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#498FF7
Deuteranopia (green-blind)
#3F86F0
Tritanopia (blue-blind)
#4E97AD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7c7ef3;
/* rgb */ color: rgb(124, 126, 243);
/* oklch */ color: oklch(64.7% 0.171 279.8);
Tailwind
colors: {
  custom: {
    50: '#a9a3f8',
    500: '#7c7ef3',
    950: '#000000',
  },
}
SCSS
$custom: #7c7ef3;
$custom-light: #a9a3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7ef3",
  "rgb": {
    "r": 124,
    "g": 126,
    "b": 243
  },
  "hsl": {
    "h": 238.992,
    "s": 83.217,
    "l": 71.961
  },
  "oklch": {
    "l": 0.64728,
    "c": 0.17098,
    "h": 279.8
  },
  "luminance": 0.25678
}

Semantic roles & 50–950 ramp

primary
#7C7EF3
secondary
#F4F4D6
accent
#DC06E0
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7C7EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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