#7E7CF4#7E7CF4

#7E7CF4 is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.6% C 0.175 H 281.1°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7E7CF4
RGBrgb(126, 124, 244)
HSLhsl(241, 85%, 72%)
HSVhsv(241, 49%, 96%)
CMYKcmyk(48.4%, 49.2%, 0%, 4.3%)
CIE-LABlab(57.44, 31.76, -60.21)
CIE-LCHlch(57.44, 68.07, 297.81°)
OKLaboklab(64.57% 0.0336 -0.1714)
OKLCHoklch(64.57% 0.175 281.1)
XYZxyz(32.1360, 25.3809, 88.7761)
Luminance0.2538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7CF4 #F2F47C
analogous
#7CB6F4 #7E7CF4 #BA7CF4
triadic
#7E7CF4 #F47E7C #7CF47E
tetradic
#7E7CF4 #F47CB6 #F2F47C #7CF4BA
square
#7E7CF4 #F47CB6 #F2F47C #7CF4BA
split-complementary
#7E7CF4 #F4BA7C #B6F47C
monochromatic
#1613E3 #4644EF #7E7CF4 #B6B4F9 #E3E3FD

Accessibility & contrast

On white

3.46
#7E7CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#7E7CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7CF4
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7CF4#FFFFFF#000000##000000
##7E7CF41.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#448EF8
Deuteranopia (green-blind)
#3B86F1
Tritanopia (blue-blind)
#5296AD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7e7cf4;
/* rgb */ color: rgb(126, 124, 244);
/* oklch */ color: oklch(64.6% 0.175 281.1);
Tailwind
colors: {
  custom: {
    50: '#aaa2f8',
    500: '#7e7cf4',
    950: '#000000',
  },
}
SCSS
$custom: #7e7cf4;
$custom-light: #aaa2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7cf4",
  "rgb": {
    "r": 126,
    "g": 124,
    "b": 244
  },
  "hsl": {
    "h": 241,
    "s": 84.507,
    "l": 72.157
  },
  "oklch": {
    "l": 0.64569,
    "c": 0.17466,
    "h": 281.1
  },
  "luminance": 0.25383
}

Semantic roles & 50–950 ramp

primary
#7E7CF4
secondary
#F4F5D6
accent
#E105DD
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #7E7CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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