#7E7DEB#7E7DEB

#7E7DEB is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.2% C 0.161 H 281.3°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#7E7DEB
RGBrgb(126, 125, 235)
HSLhsl(241, 73%, 71%)
HSVhsv(241, 47%, 92%)
CMYKcmyk(46.4%, 46.8%, 0%, 7.8%)
CIE-LABlab(57.17, 28.51, -55.65)
CIE-LCHlch(57.17, 62.53, 297.13°)
OKLaboklab(64.2% 0.0315 -0.158)
OKLCHoklch(64.2% 0.161 281.3)
XYZxyz(30.9287, 25.0995, 81.7962)
Luminance0.2510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7DEB #EAEB7D
analogous
#7DB3EB #7E7DEB #B57DEB
triadic
#7E7DEB #EB7E7D #7DEB7E
tetradic
#7E7DEB #EB7DB3 #EAEB7D #7DEBB5
square
#7E7DEB #EB7DB3 #EAEB7D #7DEBB5
split-complementary
#7E7DEB #EBB57D #B3EB7D
monochromatic
#2120CE #4948E3 #7E7DEB #B3B2F3 #E5E4FB

Accessibility & contrast

On white

3.49
#7E7DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#7E7DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7DEB
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7DEB#FFFFFF#000000##000000
##7E7DEB1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8DEF
Deuteranopia (green-blind)
#4785E9
Tritanopia (blue-blind)
#5894A9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7e7deb;
/* rgb */ color: rgb(126, 125, 235);
/* oklch */ color: oklch(64.2% 0.161 281.3);
Tailwind
colors: {
  custom: {
    50: '#a9a2f2',
    500: '#7e7deb',
    950: '#000000',
  },
}
SCSS
$custom: #7e7deb;
$custom-light: #a9a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7deb",
  "rgb": {
    "r": 126,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 240.545,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64197,
    "c": 0.16112,
    "h": 281.3
  },
  "luminance": 0.25101
}

Semantic roles & 50–950 ramp

primary
#7E7DEB
secondary
#F1F1D3
accent
#D510D4
background
#FAFAFE
surface
#F4F3FD
border
#CECDD5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7E7DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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