#7E82DC#7E82DC

#7E82DC is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.3% C 0.133 H 280.0°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7E82DC
RGBrgb(126, 130, 220)
HSLhsl(237, 57%, 68%)
HSVhsv(237, 43%, 86%)
CMYKcmyk(42.7%, 40.9%, 0%, 13.7%)
CIE-LABlab(57.62, 21.19, -46.56)
CIE-LCHlch(57.62, 51.15, 294.47°)
OKLaboklab(64.28% 0.0232 -0.1314)
OKLCHoklch(64.28% 0.133 280)
XYZxyz(29.5013, 25.5669, 71.0767)
Luminance0.2557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E82DC #DCD87E
analogous
#7EB1DC #7E82DC #A97EDC
triadic
#7E82DC #DC7E82 #82DC7E
tetradic
#7E82DC #DC7EB1 #DCD87E #7EDCA9
square
#7E82DC #DC7EB1 #DCD87E #7EDCA9
split-complementary
#7E82DC #DCA97E #B1DC7E
monochromatic
#3035B0 #4E53CF #7E82DC #AEB1E9 #DEDFF6

Accessibility & contrast

On white

3.43
#7E82DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#7E82DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E82DC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E82DC#FFFFFF#000000##000000
##7E82DC1.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#618EDF
Deuteranopia (green-blind)
#5B87DA
Tritanopia (blue-blind)
#6094A4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7e82dc;
/* rgb */ color: rgb(126, 130, 220);
/* oklch */ color: oklch(64.3% 0.133 280.0);
Tailwind
colors: {
  custom: {
    50: '#a7a6e7',
    500: '#7e82dc',
    950: '#000000',
  },
}
SCSS
$custom: #7e82dc;
$custom-light: #a7a6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e82dc",
  "rgb": {
    "r": 126,
    "g": 130,
    "b": 220
  },
  "hsl": {
    "h": 237.447,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6428,
    "c": 0.1334,
    "h": 280
  },
  "luminance": 0.25568
}

Semantic roles & 50–950 ramp

primary
#7E82DC
secondary
#E9E8CC
accent
#BE21C5
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #7E82DC

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

Preview Lab → · Contrast checker → · Palette generator →

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