#7D7EF8#7D7EF8

#7D7EF8 is a light, vivid blue. Relative luminance 0.261; OKLCH L 65.1% C 0.178 H 279.9°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7D7EF8
RGBrgb(125, 126, 248)
HSLhsl(240, 90%, 73%)
HSVhsv(240, 50%, 97%)
CMYKcmyk(49.6%, 49.2%, 0%, 2.7%)
CIE-LABlab(58.09, 31.55, -61.39)
CIE-LCHlch(58.09, 69.03, 297.20°)
OKLaboklab(65.11% 0.0306 -0.1749)
OKLCHoklch(65.11% 0.178 279.9)
XYZxyz(32.8564, 26.0571, 92.0870)
Luminance0.2606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7EF8 #F8F77D
analogous
#7DBBF8 #7D7EF8 #B97DF8
triadic
#7D7EF8 #F87D7E #7EF87D
tetradic
#7D7EF8 #F87DBB #F8F77D #7DF8B9
square
#7D7EF8 #F87DBB #F8F77D #7DF8B9
split-complementary
#7D7EF8 #F8B97D #BBF87D
monochromatic
#0D0FEE #4344F5 #7D7EF8 #B7B8FB #E2E2FD

Accessibility & contrast

On white

3.38
#7D7EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#7D7EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7EF8
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7EF8#FFFFFF#000000##000000
##7D7EF81.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4490FC
Deuteranopia (green-blind)
#3987F5
Tritanopia (blue-blind)
#4D99AF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7d7ef8;
/* rgb */ color: rgb(125, 126, 248);
/* oklch */ color: oklch(65.1% 0.178 279.9);
Tailwind
colors: {
  custom: {
    50: '#aaa3fb',
    500: '#7d7ef8',
    950: '#000000',
  },
}
SCSS
$custom: #7d7ef8;
$custom-light: #aaa3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7ef8",
  "rgb": {
    "r": 125,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 239.512,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.65113,
    "c": 0.17754,
    "h": 279.9
  },
  "luminance": 0.26059
}

Semantic roles & 50–950 ramp

primary
#7D7EF8
secondary
#F6F5D5
accent
#E400E6
background
#FAFAFF
surface
#F5F3FF
border
#CFCDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #7D7EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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