#7E7FF6#7E7FF6

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

Color values

HEX#7E7FF6
RGBrgb(126, 127, 246)
HSLhsl(240, 87%, 73%)
HSVhsv(240, 49%, 96%)
CMYKcmyk(48.8%, 48.4%, 0%, 3.5%)
CIE-LABlab(58.29, 30.58, -59.97)
CIE-LCHlch(58.29, 67.31, 297.02°)
OKLaboklab(65.24% 0.0304 -0.1707)
OKLCHoklch(65.24% 0.173 280.1)
XYZxyz(32.8230, 26.2664, 90.5113)
Luminance0.2627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7FF6 #F6F57E
analogous
#7EBBF6 #7E7FF6 #B97EF6
triadic
#7E7FF6 #F67E7F #7FF67E
tetradic
#7E7FF6 #F67EBB #F6F57E #7EF6B9
square
#7E7FF6 #F67EBB #F6F57E #7EF6B9
split-complementary
#7E7FF6 #F6B97E #BBF67E
monochromatic
#1012E9 #4546F2 #7E7FF6 #B7B8FA #E2E3FD

Accessibility & contrast

On white

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

On black

6.25
#7E7FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7FF6
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7FF6#FFFFFF#000000##000000
##7E7FF61.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4991FA
Deuteranopia (green-blind)
#3F88F3
Tritanopia (blue-blind)
#5099AF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e7ff6;
/* rgb */ color: rgb(126, 127, 246);
/* oklch */ color: oklch(65.2% 0.173 280.1);
Tailwind
colors: {
  custom: {
    50: '#aaa4fa',
    500: '#7e7ff6',
    950: '#000000',
  },
}
SCSS
$custom: #7e7ff6;
$custom-light: #aaa4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7ff6",
  "rgb": {
    "r": 126,
    "g": 127,
    "b": 246
  },
  "hsl": {
    "h": 239.5,
    "s": 86.957,
    "l": 72.941
  },
  "oklch": {
    "l": 0.65243,
    "c": 0.17335,
    "h": 280.1
  },
  "luminance": 0.26268
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E7FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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