#7D7EF6#7D7EF6

#7D7EF6 is a light, vivid blue. Relative luminance 0.259; OKLCH L 65.0% C 0.175 H 280.0°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7D7EF6
RGBrgb(125, 126, 246)
HSLhsl(240, 87%, 73%)
HSVhsv(240, 49%, 96%)
CMYKcmyk(49.2%, 48.8%, 0%, 3.5%)
CIE-LABlab(57.97, 30.96, -60.48)
CIE-LCHlch(57.97, 67.94, 297.11°)
OKLaboklab(64.99% 0.0304 -0.1722)
OKLCHoklch(64.99% 0.175 280)
XYZxyz(32.5478, 25.9337, 90.4616)
Luminance0.2594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7EF6 #F6F57D
analogous
#7DBBF6 #7D7EF6 #B87DF6
triadic
#7D7EF6 #F67D7E #7EF67D
tetradic
#7D7EF6 #F67DBB #F6F57D #7DF6B8
square
#7D7EF6 #F67DBB #F6F57D #7DF6B8
split-complementary
#7D7EF6 #F6B87D #BBF67D
monochromatic
#1012E9 #4445F2 #7D7EF6 #B6B7FA #E2E3FD

Accessibility & contrast

On white

3.39
#7D7EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#7D7EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7EF6
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7EF6#FFFFFF#000000##000000
##7D7EF61.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4690FA
Deuteranopia (green-blind)
#3C87F3
Tritanopia (blue-blind)
#4E98AE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7d7ef6;
/* rgb */ color: rgb(125, 126, 246);
/* oklch */ color: oklch(65.0% 0.175 280.0);
Tailwind
colors: {
  custom: {
    50: '#aaa3fa',
    500: '#7d7ef6',
    950: '#000000',
  },
}
SCSS
$custom: #7d7ef6;
$custom-light: #aaa3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7ef6",
  "rgb": {
    "r": 125,
    "g": 126,
    "b": 246
  },
  "hsl": {
    "h": 239.504,
    "s": 87.05,
    "l": 72.745
  },
  "oklch": {
    "l": 0.64987,
    "c": 0.17485,
    "h": 280
  },
  "luminance": 0.25936
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D7EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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