#7E7DF7#7E7DF7

#7E7DF7 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.9% C 0.177 H 280.6°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7E7DF7
RGBrgb(126, 125, 247)
HSLhsl(240, 88%, 73%)
HSVhsv(240, 49%, 97%)
CMYKcmyk(49%, 49.4%, 0%, 3.1%)
CIE-LABlab(57.86, 32.06, -61.20)
CIE-LCHlch(57.86, 69.09, 297.64°)
OKLaboklab(64.94% 0.0327 -0.1743)
OKLCHoklch(64.94% 0.177 280.6)
XYZxyz(32.7212, 25.8165, 91.2366)
Luminance0.2582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7DF7 #F6F77D
analogous
#7DB9F7 #7E7DF7 #BB7DF7
triadic
#7E7DF7 #F77E7D #7DF77E
tetradic
#7E7DF7 #F77DB9 #F6F77D #7DF7BB
square
#7E7DF7 #F77DB9 #F6F77D #7DF7BB
split-complementary
#7E7DF7 #F7BB7D #B9F77D
monochromatic
#100EEB #4543F3 #7E7DF7 #B7B7FB #E2E2FD

Accessibility & contrast

On white

3.41
#7E7DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#7E7DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7DF7
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7DF7#FFFFFF#000000##000000
##7E7DF71.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4490FB
Deuteranopia (green-blind)
#3987F4
Tritanopia (blue-blind)
#5098AE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7e7df7;
/* rgb */ color: rgb(126, 125, 247);
/* oklch */ color: oklch(64.9% 0.177 280.6);
Tailwind
colors: {
  custom: {
    50: '#aaa2fa',
    500: '#7e7df7',
    950: '#000000',
  },
}
SCSS
$custom: #7e7df7;
$custom-light: #aaa2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7df7",
  "rgb": {
    "r": 126,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 240.492,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.6494,
    "c": 0.17736,
    "h": 280.6
  },
  "luminance": 0.25818
}

Semantic roles & 50–950 ramp

primary
#7E7DF7
secondary
#F5F5D6
accent
#E500E3
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #7E7DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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