#7E7ED7#7E7ED7

#7E7ED7 is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.2% C 0.132 H 282.0°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7E7ED7
RGBrgb(126, 126, 215)
HSLhsl(240, 53%, 67%)
HSVhsv(240, 41%, 84%)
CMYKcmyk(41.4%, 41.4%, 0%, 15.7%)
CIE-LABlab(56.35, 22.13, -45.77)
CIE-LCHlch(56.35, 50.84, 295.81°)
OKLaboklab(63.22% 0.0273 -0.1291)
OKLCHoklch(63.22% 0.132 282)
XYZxyz(28.3272, 24.2625, 67.4674)
Luminance0.2426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7ED7 #D7D77E
analogous
#7EABD7 #7E7ED7 #AB7ED7
triadic
#7E7ED7 #D77E7E #7ED77E
tetradic
#7E7ED7 #D77EAB #D7D77E #7ED7AB
square
#7E7ED7 #D77EAB #D7D77E #7ED7AB
split-complementary
#7E7ED7 #D7AB7E #ABD77E
monochromatic
#3434A7 #4F4FC9 #7E7ED7 #ADADE5 #DBDBF4

Accessibility & contrast

On white

3.59
#7E7ED7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#7E7ED7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7ED7
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7ED7#FFFFFF#000000##000000
##7E7ED71.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8ADA
Deuteranopia (green-blind)
#5A84D5
Tritanopia (blue-blind)
#6390A0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7e7ed7;
/* rgb */ color: rgb(126, 126, 215);
/* oklch */ color: oklch(63.2% 0.132 282.0);
Tailwind
colors: {
  custom: {
    50: '#a7a3e4',
    500: '#7e7ed7',
    950: '#000000',
  },
}
SCSS
$custom: #7e7ed7;
$custom-light: #a7a3e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7ed7",
  "rgb": {
    "r": 126,
    "g": 126,
    "b": 215
  },
  "hsl": {
    "h": 240,
    "s": 52.663,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63225,
    "c": 0.13193,
    "h": 282
  },
  "luminance": 0.24264
}

Semantic roles & 50–950 ramp

primary
#7E7ED7
secondary
#E7E7CA
accent
#C025C0
background
#FAFAFE
surface
#F4F3FC
border
#CECDD5
text
#100F15
muted
#7F7F84

Preview Lab

Preview with #7E7ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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