#7D9EFE#7D9EFE

#7D9EFE is a light, vivid blue. Relative luminance 0.360; OKLCH L 71.6% C 0.145 H 268.3°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#7D9EFE
RGBrgb(125, 158, 254)
HSLhsl(225, 98%, 74%)
HSVhsv(225, 51%, 100%)
CMYKcmyk(50.8%, 37.8%, 0%, 0.4%)
CIE-LABlab(66.49, 14.59, -51.30)
CIE-LCHlch(66.49, 53.33, 285.87°)
OKLaboklab(71.63% -0.0044 -0.1451)
OKLCHoklch(71.63% 0.145 268.3)
XYZxyz(38.5678, 35.9668, 98.6567)
Luminance0.3597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9EFE #FEDD7D
analogous
#7DDFFE #7D9EFE #9D7DFE
triadic
#7D9EFE #FE7D9E #9EFE7D
tetradic
#7D9EFE #FE7DDF #FEDD7D #7DFE9D
square
#7D9EFE #FE7DDF #FEDD7D #7DFE9D
split-complementary
#7D9EFE #FE9D7D #DFFE7D
monochromatic
#0443FD #4071FE #7D9EFE #BACBFE #E1E8FF

Accessibility & contrast

On white

2.56
#7D9EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#7D9EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7D9EFE
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9EFE#FFFFFF#000000##000000
##7D9EFE1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A8FF
Deuteranopia (green-blind)
#6A9CFC
Tritanopia (blue-blind)
#42B3C2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7d9efe;
/* rgb */ color: rgb(125, 158, 254);
/* oklch */ color: oklch(71.6% 0.145 268.3);
Tailwind
colors: {
  custom: {
    50: '#aabaff',
    500: '#7d9efe',
    950: '#000000',
  },
}
SCSS
$custom: #7d9efe;
$custom-light: #aabaff;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9efe",
  "rgb": {
    "r": 125,
    "g": 158,
    "b": 254
  },
  "hsl": {
    "h": 224.651,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.71626,
    "c": 0.14515,
    "h": 268.3
  },
  "luminance": 0.35969
}

Semantic roles & 50–950 ramp

primary
#7D9EFE
secondary
#F7EED4
accent
#AB00E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#101118
muted
#7F8086

Preview Lab

Preview with #7D9EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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