#7E7FF4#7E7FF4

#7E7FF4 is a light, vivid blue. Relative luminance 0.261; OKLCH L 65.1% C 0.171 H 280.2°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7E7FF4
RGBrgb(126, 127, 244)
HSLhsl(239, 84%, 73%)
HSVhsv(239, 48%, 96%)
CMYKcmyk(48.4%, 48%, 0%, 4.3%)
CIE-LABlab(58.17, 29.99, -59.05)
CIE-LCHlch(58.17, 66.22, 296.92°)
OKLaboklab(65.12% 0.0302 -0.168)
OKLCHoklch(65.12% 0.171 280.2)
XYZxyz(32.5177, 26.1443, 88.9033)
Luminance0.2615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7FF4 #F4F37E
analogous
#7EBAF4 #7E7FF4 #B87EF4
triadic
#7E7FF4 #F47E7F #7FF47E
tetradic
#7E7FF4 #F47EBA #F4F37E #7EF4B8
square
#7E7FF4 #F47EBA #F4F37E #7EF4B8
split-complementary
#7E7FF4 #F4B87E #BAF47E
monochromatic
#1315E4 #4647EF #7E7FF4 #B6B7F9 #E3E3FD

Accessibility & contrast

On white

3.37
#7E7FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#7E7FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7FF4
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7FF4#FFFFFF#000000##000000
##7E7FF41.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B90F8
Deuteranopia (green-blind)
#4187F1
Tritanopia (blue-blind)
#5298AE
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e7ff4;
/* rgb */ color: rgb(126, 127, 244);
/* oklch */ color: oklch(65.1% 0.171 280.2);
Tailwind
colors: {
  custom: {
    50: '#aaa4f8',
    500: '#7e7ff4',
    950: '#000000',
  },
}
SCSS
$custom: #7e7ff4;
$custom-light: #aaa4f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7ff4",
  "rgb": {
    "r": 126,
    "g": 127,
    "b": 244
  },
  "hsl": {
    "h": 239.492,
    "s": 84.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.65119,
    "c": 0.17065,
    "h": 280.2
  },
  "luminance": 0.26146
}

Semantic roles & 50–950 ramp

primary
#7E7FF4
secondary
#F5F4D6
accent
#DF05E1
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #7E7FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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