#7E7DFD#7E7DFD

#7E7DFD is a light, vivid blue. Relative luminance 0.262; OKLCH L 65.3% C 0.185 H 280.3°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#7E7DFD
RGBrgb(126, 125, 253)
HSLhsl(240, 97%, 74%)
HSVhsv(240, 51%, 99%)
CMYKcmyk(50.2%, 50.6%, 0%, 0.8%)
CIE-LABlab(58.22, 33.84, -63.94)
CIE-LCHlch(58.22, 72.35, 297.89°)
OKLaboklab(65.32% 0.0332 -0.1824)
OKLCHoklch(65.32% 0.185 280.3)
XYZxyz(33.6620, 26.1928, 96.1914)
Luminance0.2620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7DFD #FCFD7D
analogous
#7DBCFD #7E7DFD #BE7DFD
triadic
#7E7DFD #FD7E7D #7DFD7E
tetradic
#7E7DFD #FD7DBC #FCFD7D #7DFDBE
square
#7E7DFD #FD7DBC #FCFD7D #7DFDBE
split-complementary
#7E7DFD #FDBE7D #BCFD7D
monochromatic
#0604FB #4241FC #7E7DFD #BAB9FE #E1E1FF

Accessibility & contrast

On white

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

On black

6.24
#7E7DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7DFD
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7DFD#FFFFFF#000000##000000
##7E7DFD1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D91FF
Deuteranopia (green-blind)
#3087FA
Tritanopia (blue-blind)
#4B99B1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e7dfd;
/* rgb */ color: rgb(126, 125, 253);
/* oklch */ color: oklch(65.3% 0.185 280.3);
Tailwind
colors: {
  custom: {
    50: '#aba2ff',
    500: '#7e7dfd',
    950: '#000000',
  },
}
SCSS
$custom: #7e7dfd;
$custom-light: #aba2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7dfd",
  "rgb": {
    "r": 126,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 240.469,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.65323,
    "c": 0.18535,
    "h": 280.3
  },
  "luminance": 0.26195
}

Semantic roles & 50–950 ramp

primary
#7E7DFD
secondary
#F7F7D4
accent
#E600E4
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F18
muted
#807F86

Preview Lab

Preview with #7E7DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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