#7E7FD4#7E7FD4

#7E7FD4 is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.3% C 0.126 H 281.7°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7E7FD4
RGBrgb(126, 127, 212)
HSLhsl(239, 50%, 66%)
HSVhsv(239, 41%, 83%)
CMYKcmyk(40.6%, 40.1%, 0%, 16.9%)
CIE-LABlab(56.45, 20.69, -43.91)
CIE-LCHlch(56.45, 48.54, 295.22°)
OKLaboklab(63.25% 0.0255 -0.1237)
OKLCHoklch(63.25% 0.126 281.7)
XYZxyz(28.0738, 24.3667, 65.4986)
Luminance0.2437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7FD4 #D4D37E
analogous
#7EAAD4 #7E7FD4 #A87ED4
triadic
#7E7FD4 #D47E7F #7FD47E
tetradic
#7E7FD4 #D47EAA #D4D37E #7ED4A8
square
#7E7FD4 #D47EAA #D4D37E #7ED4A8
split-complementary
#7E7FD4 #D4A87E #AAD47E
monochromatic
#3637A2 #5051C5 #7E7FD4 #ACADE3 #DADAF3

Accessibility & contrast

On white

3.58
#7E7FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#7E7FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7FD4
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7FD4#FFFFFF#000000##000000
##7E7FD41.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#618AD7
Deuteranopia (green-blind)
#5D84D2
Tritanopia (blue-blind)
#64909F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7e7fd4;
/* rgb */ color: rgb(126, 127, 212);
/* oklch */ color: oklch(63.3% 0.126 281.7);
Tailwind
colors: {
  custom: {
    50: '#a7a4e1',
    500: '#7e7fd4',
    950: '#000000',
  },
}
SCSS
$custom: #7e7fd4;
$custom-light: #a7a4e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7fd4",
  "rgb": {
    "r": 126,
    "g": 127,
    "b": 212
  },
  "hsl": {
    "h": 239.302,
    "s": 50,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63254,
    "c": 0.12626,
    "h": 281.7
  },
  "luminance": 0.24368
}

Semantic roles & 50–950 ramp

primary
#7E7FD4
secondary
#E5E5C9
accent
#BC28BD
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #7E7FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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