#7E7DF4#7E7DF4

#7E7DF4 is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.8% C 0.173 H 280.8°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#7E7DF4
RGBrgb(126, 125, 244)
HSLhsl(241, 84%, 72%)
HSVhsv(241, 49%, 96%)
CMYKcmyk(48.4%, 48.8%, 0%, 4.3%)
CIE-LABlab(57.69, 31.17, -59.83)
CIE-LCHlch(57.69, 67.46, 297.52°)
OKLaboklab(64.75% 0.0324 -0.1703)
OKLCHoklch(64.75% 0.173 280.8)
XYZxyz(32.2620, 25.6328, 88.8181)
Luminance0.2564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7DF4 #F3F47D
analogous
#7DB8F4 #7E7DF4 #B97DF4
triadic
#7E7DF4 #F47E7D #7DF47E
tetradic
#7E7DF4 #F47DB8 #F3F47D #7DF4B9
square
#7E7DF4 #F47DB8 #F3F47D #7DF4B9
split-complementary
#7E7DF4 #F4B97D #B8F47D
monochromatic
#1513E3 #4645EF #7E7DF4 #B6B5F9 #E3E3FD

Accessibility & contrast

On white

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

On black

6.13
#7E7DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7DF4
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7DF4#FFFFFF#000000##000000
##7E7DF41.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#478FF8
Deuteranopia (green-blind)
#3D86F1
Tritanopia (blue-blind)
#5297AD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7e7df4;
/* rgb */ color: rgb(126, 125, 244);
/* oklch */ color: oklch(64.8% 0.173 280.8);
Tailwind
colors: {
  custom: {
    50: '#aaa2f8',
    500: '#7e7df4',
    950: '#000000',
  },
}
SCSS
$custom: #7e7df4;
$custom-light: #aaa2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7df4",
  "rgb": {
    "r": 126,
    "g": 125,
    "b": 244
  },
  "hsl": {
    "h": 240.504,
    "s": 84.397,
    "l": 72.353
  },
  "oklch": {
    "l": 0.64752,
    "c": 0.17333,
    "h": 280.8
  },
  "luminance": 0.25635
}

Semantic roles & 50–950 ramp

primary
#7E7DF4
secondary
#F4F5D6
accent
#E105DF
background
#FAFAFF
surface
#F5F3FF
border
#CFCDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #7E7DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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