#7E7FE5#7E7FE5

#7E7FE5 is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.2% C 0.150 H 280.9°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#7E7FE5
RGBrgb(126, 127, 229)
HSLhsl(239, 66%, 70%)
HSVhsv(239, 45%, 90%)
CMYKcmyk(45%, 44.5%, 0%, 10.2%)
CIE-LABlab(57.34, 25.57, -52.04)
CIE-LCHlch(57.34, 57.99, 296.17°)
OKLaboklab(64.22% 0.0283 -0.1474)
OKLCHoklch(64.22% 0.15 280.9)
XYZxyz(30.3322, 25.2701, 77.3929)
Luminance0.2527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7FE5 #E5E47E
analogous
#7EB3E5 #7E7FE5 #B07EE5
triadic
#7E7FE5 #E57E7F #7FE57E
tetradic
#7E7FE5 #E57EB3 #E5E47E #7EE5B0
square
#7E7FE5 #E57EB3 #E5E47E #7EE5B0
split-complementary
#7E7FE5 #E5B07E #B3E57E
monochromatic
#2729C2 #4B4CDB #7E7FE5 #B1B2EF #E4E4FA

Accessibility & contrast

On white

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

On black

6.05
#7E7FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7FE5
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7FE5#FFFFFF#000000##000000
##7E7FE51.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#578EE9
Deuteranopia (green-blind)
#5086E3
Tritanopia (blue-blind)
#5B94A7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7e7fe5;
/* rgb */ color: rgb(126, 127, 229);
/* oklch */ color: oklch(64.2% 0.150 280.9);
Tailwind
colors: {
  custom: {
    50: '#a8a4ee',
    500: '#7e7fe5',
    950: '#000000',
  },
}
SCSS
$custom: #7e7fe5;
$custom-light: #a8a4ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7fe5",
  "rgb": {
    "r": 126,
    "g": 127,
    "b": 229
  },
  "hsl": {
    "h": 239.417,
    "s": 66.452,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64215,
    "c": 0.15013,
    "h": 280.9
  },
  "luminance": 0.25272
}

Semantic roles & 50–950 ramp

primary
#7E7FE5
secondary
#EEEED1
accent
#CD17CE
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #7E7FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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