#7E7FF2#7E7FF2

#7E7FF2 is a light, vivid blue. Relative luminance 0.260; OKLCH L 65.0% C 0.168 H 280.3°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7E7FF2
RGBrgb(126, 127, 242)
HSLhsl(239, 82%, 72%)
HSVhsv(239, 48%, 95%)
CMYKcmyk(47.9%, 47.5%, 0%, 5.1%)
CIE-LABlab(58.06, 29.39, -58.12)
CIE-LCHlch(58.06, 65.13, 296.83°)
OKLaboklab(65% 0.03 -0.1652)
OKLCHoklch(65% 0.168 280.3)
XYZxyz(32.2157, 26.0235, 87.3127)
Luminance0.2602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7FF2 #F2F17E
analogous
#7EB9F2 #7E7FF2 #B77EF2
triadic
#7E7FF2 #F27E7F #7FF27E
tetradic
#7E7FF2 #F27EB9 #F2F17E #7EF2B7
square
#7E7FF2 #F27EB9 #F2F17E #7EF2B7
split-complementary
#7E7FF2 #F2B77E #B9F27E
monochromatic
#1618DF #4648EC #7E7FF2 #B6B6F8 #E3E3FC

Accessibility & contrast

On white

3.38
#7E7FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#7E7FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7FF2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7FF2#FFFFFF#000000##000000
##7E7FF21.003.386.206.20
#FFFFFF3.381.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D90F6
Deuteranopia (green-blind)
#4387EF
Tritanopia (blue-blind)
#5398AD
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e7ff2;
/* rgb */ color: rgb(126, 127, 242);
/* oklch */ color: oklch(65.0% 0.168 280.3);
Tailwind
colors: {
  custom: {
    50: '#aaa4f7',
    500: '#7e7ff2',
    950: '#000000',
  },
}
SCSS
$custom: #7e7ff2;
$custom-light: #aaa4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7ff2",
  "rgb": {
    "r": 126,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 239.483,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.64995,
    "c": 0.16794,
    "h": 280.3
  },
  "luminance": 0.26025
}

Semantic roles & 50–950 ramp

primary
#7E7FF2
secondary
#F4F4D7
accent
#DC07DE
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7E7FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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