#7E7FEE#7E7FEE

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

Color values

HEX#7E7FEE
RGBrgb(126, 127, 238)
HSLhsl(239, 77%, 71%)
HSVhsv(239, 47%, 93%)
CMYKcmyk(47.1%, 46.6%, 0%, 6.7%)
CIE-LABlab(57.83, 28.21, -56.26)
CIE-LCHlch(57.83, 62.94, 296.63°)
OKLaboklab(64.75% 0.0295 -0.1598)
OKLCHoklch(64.75% 0.163 280.5)
XYZxyz(31.6215, 25.7858, 84.1833)
Luminance0.2579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7FEE #EEED7E
analogous
#7EB7EE #7E7FEE #B57EEE
triadic
#7E7FEE #EE7E7F #7FEE7E
tetradic
#7E7FEE #EE7EB7 #EEED7E #7EEEB5
square
#7E7FEE #EE7EB7 #EEED7E #7EEEB5
split-complementary
#7E7FEE #EEB57E #B7EE7E
monochromatic
#1C1ED5 #4849E7 #7E7FEE #B4B5F5 #E4E4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E7FEE#FFFFFF#000000##000000
##7E7FEE1.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)
#508FF2
Deuteranopia (green-blind)
#4887EC
Tritanopia (blue-blind)
#5697AB
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7e7fee;
/* rgb */ color: rgb(126, 127, 238);
/* oklch */ color: oklch(64.8% 0.163 280.5);
Tailwind
colors: {
  custom: {
    50: '#a9a4f4',
    500: '#7e7fee',
    950: '#000000',
  },
}
SCSS
$custom: #7e7fee;
$custom-light: #a9a4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7fee",
  "rgb": {
    "r": 126,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 239.464,
    "s": 76.712,
    "l": 71.373
  },
  "oklch": {
    "l": 0.64751,
    "c": 0.1625,
    "h": 280.5
  },
  "luminance": 0.25787
}

Semantic roles & 50–950 ramp

primary
#7E7FEE
secondary
#F2F2D5
accent
#D70DD9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7E7FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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