#7E7DED#7E7DED

#7E7DED is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.3% C 0.164 H 281.2°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#7E7DED
RGBrgb(126, 125, 237)
HSLhsl(241, 76%, 71%)
HSVhsv(241, 47%, 93%)
CMYKcmyk(46.8%, 47.3%, 0%, 7.1%)
CIE-LABlab(57.28, 29.10, -56.58)
CIE-LCHlch(57.28, 63.63, 297.22°)
OKLaboklab(64.32% 0.0317 -0.1607)
OKLCHoklch(64.32% 0.164 281.2)
XYZxyz(31.2193, 25.2157, 83.3265)
Luminance0.2522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7DED #ECED7D
analogous
#7DB4ED #7E7DED #B67DED
triadic
#7E7DED #ED7E7D #7DED7E
tetradic
#7E7DED #ED7DB4 #ECED7D #7DEDB6
square
#7E7DED #ED7DB4 #ECED7D #7DEDB6
split-complementary
#7E7DED #EDB67D #B4ED7D
monochromatic
#1F1DD2 #4947E6 #7E7DED #B3B3F4 #E4E4FB

Accessibility & contrast

On white

3.47
#7E7DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#7E7DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7DED
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7DED#FFFFFF#000000##000000
##7E7DED1.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8EF1
Deuteranopia (green-blind)
#4586EB
Tritanopia (blue-blind)
#5795AA
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7e7ded;
/* rgb */ color: rgb(126, 125, 237);
/* oklch */ color: oklch(64.3% 0.164 281.2);
Tailwind
colors: {
  custom: {
    50: '#a9a2f3',
    500: '#7e7ded',
    950: '#000000',
  },
}
SCSS
$custom: #7e7ded;
$custom-light: #a9a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7ded",
  "rgb": {
    "r": 126,
    "g": 125,
    "b": 237
  },
  "hsl": {
    "h": 240.536,
    "s": 75.676,
    "l": 70.98
  },
  "oklch": {
    "l": 0.64319,
    "c": 0.16385,
    "h": 281.2
  },
  "luminance": 0.25217
}

Semantic roles & 50–950 ramp

primary
#7E7DED
secondary
#F2F2D4
accent
#D80ED6
background
#FAFAFE
surface
#F4F3FD
border
#CECDD5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7E7DED

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

Preview Lab → · Contrast checker → · Palette generator →

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