#7E7FF5#7E7FF5

#7E7FF5 is a light, vivid blue. Relative luminance 0.262; OKLCH L 65.2% C 0.172 H 280.1°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#7E7FF5
RGBrgb(126, 127, 245)
HSLhsl(239, 86%, 73%)
HSVhsv(239, 49%, 96%)
CMYKcmyk(48.6%, 48.2%, 0%, 3.9%)
CIE-LABlab(58.23, 30.28, -59.51)
CIE-LCHlch(58.23, 66.77, 296.97°)
OKLaboklab(65.18% 0.0303 -0.1693)
OKLCHoklch(65.18% 0.172 280.1)
XYZxyz(32.6699, 26.2052, 89.7051)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7FF5 #F5F47E
analogous
#7EBAF5 #7E7FF5 #B97EF5
triadic
#7E7FF5 #F57E7F #7FF57E
tetradic
#7E7FF5 #F57EBA #F5F47E #7EF5B9
square
#7E7FF5 #F57EBA #F5F47E #7EF5B9
split-complementary
#7E7FF5 #F5B97E #BAF57E
monochromatic
#1214E7 #4547F1 #7E7FF5 #B7B7F9 #E3E3FD

Accessibility & contrast

On white

3.36
#7E7FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#7E7FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7FF5
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7FF5#FFFFFF#000000##000000
##7E7FF51.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A91F9
Deuteranopia (green-blind)
#4088F2
Tritanopia (blue-blind)
#5198AE
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e7ff5;
/* rgb */ color: rgb(126, 127, 245);
/* oklch */ color: oklch(65.2% 0.172 280.1);
Tailwind
colors: {
  custom: {
    50: '#aaa4f9',
    500: '#7e7ff5',
    950: '#000000',
  },
}
SCSS
$custom: #7e7ff5;
$custom-light: #aaa4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7ff5",
  "rgb": {
    "r": 126,
    "g": 127,
    "b": 245
  },
  "hsl": {
    "h": 239.496,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.65181,
    "c": 0.17201,
    "h": 280.1
  },
  "luminance": 0.26207
}

Semantic roles & 50–950 ramp

primary
#7E7FF5
secondary
#F5F5D6
accent
#E003E2
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #7E7FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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