#7E7FED#7E7FED

#7E7FED is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.7% C 0.161 H 280.5°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7E7FED
RGBrgb(126, 127, 237)
HSLhsl(239, 76%, 71%)
HSVhsv(239, 47%, 93%)
CMYKcmyk(46.8%, 46.4%, 0%, 7.1%)
CIE-LABlab(57.78, 27.92, -55.80)
CIE-LCHlch(57.78, 62.39, 296.58°)
OKLaboklab(64.69% 0.0294 -0.1584)
OKLCHoklch(64.69% 0.161 280.5)
XYZxyz(31.4750, 25.7272, 83.4117)
Luminance0.2573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7FED #EDEC7E
analogous
#7EB6ED #7E7FED #B47EED
triadic
#7E7FED #ED7E7F #7FED7E
tetradic
#7E7FED #ED7EB6 #EDEC7E #7EEDB4
square
#7E7FED #ED7EB6 #EDEC7E #7EEDB4
split-complementary
#7E7FED #EDB47E #B6ED7E
monochromatic
#1D1FD3 #484AE6 #7E7FED #B4B4F4 #E4E4FB

Accessibility & contrast

On white

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

On black

6.15
#7E7FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7FED
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7FED#FFFFFF#000000##000000
##7E7FED1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#518FF1
Deuteranopia (green-blind)
#4987EB
Tritanopia (blue-blind)
#5796AB
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7e7fed;
/* rgb */ color: rgb(126, 127, 237);
/* oklch */ color: oklch(64.7% 0.161 280.5);
Tailwind
colors: {
  custom: {
    50: '#a9a4f3',
    500: '#7e7fed',
    950: '#000000',
  },
}
SCSS
$custom: #7e7fed;
$custom-light: #a9a4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7fed",
  "rgb": {
    "r": 126,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 239.459,
    "s": 75.51,
    "l": 71.176
  },
  "oklch": {
    "l": 0.64691,
    "c": 0.16113,
    "h": 280.5
  },
  "luminance": 0.25729
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E7FED

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

Preview Lab → · Contrast checker → · Palette generator →

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