#7E7DF5#7E7DF5

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

Color values

HEX#7E7DF5
RGBrgb(126, 125, 245)
HSLhsl(241, 86%, 73%)
HSVhsv(241, 49%, 96%)
CMYKcmyk(48.6%, 49%, 0%, 3.9%)
CIE-LABlab(57.75, 31.46, -60.29)
CIE-LCHlch(57.75, 68.00, 297.56°)
OKLaboklab(64.81% 0.0325 -0.1716)
OKLCHoklch(64.81% 0.175 280.7)
XYZxyz(32.4142, 25.6937, 89.6199)
Luminance0.2570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7DF5 #F4F57D
analogous
#7DB8F5 #7E7DF5 #BA7DF5
triadic
#7E7DF5 #F57E7D #7DF57E
tetradic
#7E7DF5 #F57DB8 #F4F57D #7DF5BA
square
#7E7DF5 #F57DB8 #F4F57D #7DF5BA
split-complementary
#7E7DF5 #F5BA7D #B8F57D
monochromatic
#1312E6 #4644F1 #7E7DF5 #B6B6F9 #E3E3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E7DF5#FFFFFF#000000##000000
##7E7DF51.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)
#468FF9
Deuteranopia (green-blind)
#3C86F2
Tritanopia (blue-blind)
#5197AD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7e7df5;
/* rgb */ color: rgb(126, 125, 245);
/* oklch */ color: oklch(64.8% 0.175 280.7);
Tailwind
colors: {
  custom: {
    50: '#aaa2f9',
    500: '#7e7df5',
    950: '#000000',
  },
}
SCSS
$custom: #7e7df5;
$custom-light: #aaa2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7df5",
  "rgb": {
    "r": 126,
    "g": 125,
    "b": 245
  },
  "hsl": {
    "h": 240.5,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.64814,
    "c": 0.17468,
    "h": 280.7
  },
  "luminance": 0.25695
}

Semantic roles & 50–950 ramp

primary
#7E7DF5
secondary
#F5F5D6
accent
#E203E0
background
#FAFAFF
surface
#F5F3FF
border
#CFCDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #7E7DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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