#7C7EF2#7C7EF2

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

Color values

HEX#7C7EF2
RGBrgb(124, 126, 242)
HSLhsl(239, 82%, 72%)
HSVhsv(239, 49%, 95%)
CMYKcmyk(48.8%, 47.9%, 0%, 5.1%)
CIE-LABlab(57.67, 29.55, -58.75)
CIE-LCHlch(57.67, 65.76, 296.70°)
OKLaboklab(64.67% 0.0289 -0.1671)
OKLCHoklch(64.67% 0.17 279.8)
XYZxyz(31.7951, 25.6159, 87.2562)
Luminance0.2562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7EF2 #F2F07C
analogous
#7CB9F2 #7C7EF2 #B57CF2
triadic
#7C7EF2 #F27C7E #7EF27C
tetradic
#7C7EF2 #F27CB9 #F2F07C #7CF2B5
square
#7C7EF2 #F27CB9 #F2F07C #7CF2B5
split-complementary
#7C7EF2 #F2B57C #B9F27C
monochromatic
#1619DE #4447EC #7C7EF2 #B4B5F8 #E3E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C7EF2#FFFFFF#000000##000000
##7C7EF21.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)
#4A8FF6
Deuteranopia (green-blind)
#4086EF
Tritanopia (blue-blind)
#4F97AC
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7c7ef2;
/* rgb */ color: rgb(124, 126, 242);
/* oklch */ color: oklch(64.7% 0.170 279.8);
Tailwind
colors: {
  custom: {
    50: '#a9a3f7',
    500: '#7c7ef2',
    950: '#000000',
  },
}
SCSS
$custom: #7c7ef2;
$custom-light: #a9a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7ef2",
  "rgb": {
    "r": 124,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 238.983,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.64666,
    "c": 0.16962,
    "h": 279.8
  },
  "luminance": 0.25618
}

Semantic roles & 50–950 ramp

primary
#7C7EF2
secondary
#F4F3D6
accent
#DB07DE
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7C7EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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