#7D7EF5#7D7EF5

#7D7EF5 is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.9% C 0.173 H 280.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7D7EF5
RGBrgb(125, 126, 245)
HSLhsl(240, 86%, 73%)
HSVhsv(240, 49%, 96%)
CMYKcmyk(49%, 48.6%, 0%, 3.9%)
CIE-LABlab(57.92, 30.66, -60.02)
CIE-LCHlch(57.92, 67.39, 297.06°)
OKLaboklab(64.93% 0.0303 -0.1708)
OKLCHoklch(64.93% 0.174 280.1)
XYZxyz(32.3947, 25.8725, 89.6554)
Luminance0.2587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7EF5 #F5F47D
analogous
#7DBAF5 #7D7EF5 #B87DF5
triadic
#7D7EF5 #F57D7E #7EF57D
tetradic
#7D7EF5 #F57DBA #F5F47D #7DF5B8
square
#7D7EF5 #F57DBA #F5F47D #7DF5B8
split-complementary
#7D7EF5 #F5B87D #BAF57D
monochromatic
#1213E6 #4446F1 #7D7EF5 #B6B6F9 #E3E3FD

Accessibility & contrast

On white

3.40
#7D7EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#7D7EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7EF5
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7EF5#FFFFFF#000000##000000
##7D7EF51.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4790F9
Deuteranopia (green-blind)
#3D87F2
Tritanopia (blue-blind)
#4F98AE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7d7ef5;
/* rgb */ color: rgb(125, 126, 245);
/* oklch */ color: oklch(64.9% 0.173 280.1);
Tailwind
colors: {
  custom: {
    50: '#aaa3f9',
    500: '#7d7ef5',
    950: '#000000',
  },
}
SCSS
$custom: #7d7ef5;
$custom-light: #aaa3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7ef5",
  "rgb": {
    "r": 125,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 239.5,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.64925,
    "c": 0.1735,
    "h": 280.1
  },
  "luminance": 0.25874
}

Semantic roles & 50–950 ramp

primary
#7D7EF5
secondary
#F5F5D6
accent
#E003E2
background
#FAFAFF
surface
#F5F3FF
border
#CFCDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #7D7EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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