#7D8AFE#7D8AFE

#7D8AFE is a light, vivid blue. Relative luminance 0.297; OKLCH L 67.7% C 0.170 H 276.1°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7D8AFE
RGBrgb(125, 138, 254)
HSLhsl(234, 98%, 74%)
HSVhsv(234, 51%, 100%)
CMYKcmyk(50.8%, 45.7%, 0%, 0.4%)
CIE-LABlab(61.39, 26.28, -59.42)
CIE-LCHlch(61.39, 64.97, 293.86°)
OKLaboklab(67.72% 0.018 -0.169)
OKLCHoklch(67.72% 0.17 276.1)
XYZxyz(35.4297, 29.6905, 97.6106)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8AFE #FEF17D
analogous
#7DCBFE #7D8AFE #B07DFE
triadic
#7D8AFE #FE7D8A #8AFE7D
tetradic
#7D8AFE #FE7DCB #FEF17D #7DFEB0
square
#7D8AFE #FE7DCB #FEF17D #7DFEB0
split-complementary
#7D8AFE #FEB07D #CBFE7D
monochromatic
#041DFD #4053FE #7D8AFE #BAC1FE #E1E4FF

Accessibility & contrast

On white

3.03
#7D8AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#7D8AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8AFE
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8AFE#FFFFFF#000000##000000
##7D8AFE1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#579AFF
Deuteranopia (green-blind)
#4A8FFB
Tritanopia (blue-blind)
#46A3B8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7d8afe;
/* rgb */ color: rgb(125, 138, 254);
/* oklch */ color: oklch(67.7% 0.170 276.1);
Tailwind
colors: {
  custom: {
    50: '#aaacff',
    500: '#7d8afe',
    950: '#000000',
  },
}
SCSS
$custom: #7d8afe;
$custom-light: #aaacff;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8afe",
  "rgb": {
    "r": 125,
    "g": 138,
    "b": 254
  },
  "hsl": {
    "h": 233.953,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.67715,
    "c": 0.16996,
    "h": 276.1
  },
  "luminance": 0.29693
}

Semantic roles & 50–950 ramp

primary
#7D8AFE
secondary
#F7F4D4
accent
#CE00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #7D8AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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