#7E7DDE#7E7DDE

#7E7DDE is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.4% C 0.143 H 282.0°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7E7DDE
RGBrgb(126, 125, 222)
HSLhsl(241, 60%, 68%)
HSVhsv(241, 44%, 87%)
CMYKcmyk(43.2%, 43.7%, 0%, 12.9%)
CIE-LABlab(56.46, 24.73, -49.52)
CIE-LCHlch(56.46, 55.35, 296.54°)
OKLaboklab(63.43% 0.0297 -0.14)
OKLCHoklch(63.43% 0.143 282)
XYZxyz(29.1187, 24.3755, 72.2637)
Luminance0.2438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7DDE #DDDE7D
analogous
#7DACDE #7E7DDE #AF7DDE
triadic
#7E7DDE #DE7E7D #7DDE7E
tetradic
#7E7DDE #DE7DAC #DDDE7D #7DDEAF
square
#7E7DDE #DE7DAC #DDDE7D #7DDEAF
split-complementary
#7E7DDE #DEAF7D #ACDE7D
monochromatic
#2F2DB3 #4E4CD2 #7E7DDE #AEAEEA #DFDFF7

Accessibility & contrast

On white

3.57
#7E7DDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#7E7DDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7DDE
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7DDE#FFFFFF#000000##000000
##7E7DDE1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#588BE2
Deuteranopia (green-blind)
#5384DC
Tritanopia (blue-blind)
#5F91A3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7e7dde;
/* rgb */ color: rgb(126, 125, 222);
/* oklch */ color: oklch(63.4% 0.143 282.0);
Tailwind
colors: {
  custom: {
    50: '#a8a2e9',
    500: '#7e7dde',
    950: '#000000',
  },
}
SCSS
$custom: #7e7dde;
$custom-light: #a8a2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7dde",
  "rgb": {
    "r": 126,
    "g": 125,
    "b": 222
  },
  "hsl": {
    "h": 240.619,
    "s": 59.509,
    "l": 68.039
  },
  "oklch": {
    "l": 0.63429,
    "c": 0.14317,
    "h": 282
  },
  "luminance": 0.24377
}

Semantic roles & 50–950 ramp

primary
#7E7DDE
secondary
#EAEACD
accent
#C71EC5
background
#FAFAFE
surface
#F4F3FD
border
#CECDD5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #7E7DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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