#7E8DFD#7E8DFD

#7E8DFD is a light, vivid blue. Relative luminance 0.306; OKLCH L 68.3% C 0.165 H 275.4°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#7E8DFD
RGBrgb(126, 141, 253)
HSLhsl(233, 97%, 74%)
HSVhsv(233, 50%, 99%)
CMYKcmyk(50.2%, 44.3%, 0%, 0.8%)
CIE-LABlab(62.15, 24.43, -57.65)
CIE-LCHlch(62.15, 62.62, 292.96°)
OKLaboklab(68.29% 0.0155 -0.1638)
OKLCHoklch(68.29% 0.165 275.4)
XYZxyz(35.8531, 30.5750, 96.9218)
Luminance0.3058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8DFD #FDEE7E
analogous
#7ECDFD #7E8DFD #AE7EFD
triadic
#7E8DFD #FD7E8D #8DFD7E
tetradic
#7E8DFD #FD7ECD #FDEE7E #7EFDAE
square
#7E8DFD #FD7ECD #FDEE7E #7EFDAE
split-complementary
#7E8DFD #FDAE7E #CDFD7E
monochromatic
#0522FB #4258FC #7E8DFD #BAC2FE #E1E4FF

Accessibility & contrast

On white

2.95
#7E8DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#7E8DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E8DFD
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8DFD#FFFFFF#000000##000000
##7E8DFD1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#5191FB
Tritanopia (blue-blind)
#49A5B9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7e8dfd;
/* rgb */ color: rgb(126, 141, 253);
/* oklch */ color: oklch(68.3% 0.165 275.4);
Tailwind
colors: {
  custom: {
    50: '#abaefe',
    500: '#7e8dfd',
    950: '#000000',
  },
}
SCSS
$custom: #7e8dfd;
$custom-light: #abaefe;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8dfd",
  "rgb": {
    "r": 126,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 232.913,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.68293,
    "c": 0.16451,
    "h": 275.4
  },
  "luminance": 0.30577
}

Semantic roles & 50–950 ramp

primary
#7E8DFD
secondary
#F7F3D4
accent
#CA00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #7E8DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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