#7D8EFE#7D8EFE

#7D8EFE is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.5% C 0.165 H 274.7°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7D8EFE
RGBrgb(125, 142, 254)
HSLhsl(232, 98%, 74%)
HSVhsv(232, 51%, 100%)
CMYKcmyk(50.8%, 44.1%, 0%, 0.4%)
CIE-LABlab(62.39, 23.93, -57.82)
CIE-LCHlch(62.39, 62.58, 292.48°)
OKLaboklab(68.48% 0.0135 -0.1643)
OKLCHoklch(68.48% 0.165 274.7)
XYZxyz(36.0142, 30.8595, 97.8055)
Luminance0.3086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8EFE #FEED7D
analogous
#7DCFFE #7D8EFE #AD7DFE
triadic
#7D8EFE #FE7D8E #8EFE7D
tetradic
#7D8EFE #FE7DCF #FEED7D #7DFEAD
square
#7D8EFE #FE7DCF #FEED7D #7DFEAD
split-complementary
#7D8EFE #FEAD7D #CFFE7D
monochromatic
#0424FD #4059FE #7D8EFE #BAC3FE #E1E5FF

Accessibility & contrast

On white

2.93
#7D8EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#7D8EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7D8EFE
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8EFE#FFFFFF#000000##000000
##7D8EFE1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#5192FC
Tritanopia (blue-blind)
#45A6BA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7d8efe;
/* rgb */ color: rgb(125, 142, 254);
/* oklch */ color: oklch(68.5% 0.165 274.7);
Tailwind
colors: {
  custom: {
    50: '#aaaeff',
    500: '#7d8efe',
    950: '#000000',
  },
}
SCSS
$custom: #7d8efe;
$custom-light: #aaaeff;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8efe",
  "rgb": {
    "r": 125,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 232.093,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.68478,
    "c": 0.16484,
    "h": 274.7
  },
  "luminance": 0.30862
}

Semantic roles & 50–950 ramp

primary
#7D8EFE
secondary
#F7F2D4
accent
#C700E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111018
muted
#807F86

Preview Lab

Preview with #7D8EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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