#7E84EA#7E84EA

#7E84EA is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.5% C 0.150 H 278.8°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#7E84EA
RGBrgb(126, 132, 234)
HSLhsl(237, 72%, 71%)
HSVhsv(237, 46%, 92%)
CMYKcmyk(46.2%, 43.6%, 0%, 8.2%)
CIE-LABlab(58.86, 24.08, -52.41)
CIE-LCHlch(58.86, 57.67, 294.68°)
OKLaboklab(65.46% 0.0231 -0.1485)
OKLCHoklch(65.46% 0.15 278.8)
XYZxyz(31.7022, 26.8770, 81.3433)
Luminance0.2688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E84EA #EAE47E
analogous
#7EBAEA #7E84EA #AE7EEA
triadic
#7E84EA #EA7E84 #84EA7E
tetradic
#7E84EA #EA7EBA #EAE47E #7EEAAE
square
#7E84EA #EA7EBA #EAE47E #7EEAAE
split-complementary
#7E84EA #EAAE7E #BAEA7E
monochromatic
#212BCC #4952E1 #7E84EA #B3B6F3 #E5E6FB

Accessibility & contrast

On white

3.29
#7E84EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#7E84EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E84EA
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E84EA#FFFFFF#000000##000000
##7E84EA1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C92EE
Deuteranopia (green-blind)
#548AE8
Tritanopia (blue-blind)
#5899AC
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7e84ea;
/* rgb */ color: rgb(126, 132, 234);
/* oklch */ color: oklch(65.5% 0.150 278.8);
Tailwind
colors: {
  custom: {
    50: '#a9a7f1',
    500: '#7e84ea',
    950: '#000000',
  },
}
SCSS
$custom: #7e84ea;
$custom-light: #a9a7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e84ea",
  "rgb": {
    "r": 126,
    "g": 132,
    "b": 234
  },
  "hsl": {
    "h": 236.667,
    "s": 72,
    "l": 70.588
  },
  "oklch": {
    "l": 0.65459,
    "c": 0.15024,
    "h": 278.8
  },
  "luminance": 0.26879
}

Semantic roles & 50–950 ramp

primary
#7E84EA
secondary
#F1EFD3
accent
#C911D4
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7E84EA

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

Preview Lab → · Contrast checker → · Palette generator →

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