#7E84DF#7E84DF

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

Color values

HEX#7E84DF
RGBrgb(126, 132, 223)
HSLhsl(236, 60%, 68%)
HSVhsv(236, 43%, 87%)
CMYKcmyk(43.5%, 40.8%, 0%, 12.5%)
CIE-LABlab(58.29, 20.87, -47.19)
CIE-LCHlch(58.29, 51.60, 293.86°)
OKLaboklab(64.84% 0.0213 -0.1332)
OKLCHoklch(64.84% 0.135 279.1)
XYZxyz(30.1707, 26.2644, 73.2775)
Luminance0.2627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E84DF #DFD97E
analogous
#7EB4DF #7E84DF #A87EDF
triadic
#7E84DF #DF7E84 #84DF7E
tetradic
#7E84DF #DF7EB4 #DFD97E #7EDFA8
square
#7E84DF #DF7EB4 #DFD97E #7EDFA8
split-complementary
#7E84DF #DFA87E #B4DF7E
monochromatic
#2D35B6 #4D55D3 #7E84DF #AFB3EB #E0E2F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E84DF#FFFFFF#000000##000000
##7E84DF1.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)
#6390E3
Deuteranopia (green-blind)
#5C89DD
Tritanopia (blue-blind)
#5E97A7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e84df;
/* rgb */ color: rgb(126, 132, 223);
/* oklch */ color: oklch(64.8% 0.135 279.1);
Tailwind
colors: {
  custom: {
    50: '#a8a7e9',
    500: '#7e84df',
    950: '#000000',
  },
}
SCSS
$custom: #7e84df;
$custom-light: #a8a7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e84df",
  "rgb": {
    "r": 126,
    "g": 132,
    "b": 223
  },
  "hsl": {
    "h": 236.289,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.64836,
    "c": 0.13487,
    "h": 279.1
  },
  "luminance": 0.26266
}

Semantic roles & 50–950 ramp

primary
#7E84DF
secondary
#EBE9CE
accent
#BD1EC8
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #7E84DF

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

Preview Lab → · Contrast checker → · Palette generator →

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