#7D7EF2#7D7EF2

#7D7EF2 is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.7% C 0.169 H 280.2°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7D7EF2
RGBrgb(125, 126, 242)
HSLhsl(239, 82%, 72%)
HSVhsv(239, 48%, 95%)
CMYKcmyk(48.3%, 47.9%, 0%, 5.1%)
CIE-LABlab(57.74, 29.76, -58.63)
CIE-LCHlch(57.74, 65.75, 296.91°)
OKLaboklab(64.74% 0.03 -0.1668)
OKLCHoklch(64.74% 0.169 280.2)
XYZxyz(31.9404, 25.6908, 87.2630)
Luminance0.2569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7EF2 #F2F17D
analogous
#7DB9F2 #7D7EF2 #B77DF2
triadic
#7D7EF2 #F27D7E #7EF27D
tetradic
#7D7EF2 #F27DB9 #F2F17D #7DF2B7
square
#7D7EF2 #F27DB9 #F2F17D #7DF2B7
split-complementary
#7D7EF2 #F2B77D #B9F27D
monochromatic
#1618DE #4547EC #7D7EF2 #B5B5F8 #E3E3FC

Accessibility & contrast

On white

3.42
#7D7EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#7D7EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7EF2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7EF2#FFFFFF#000000##000000
##7D7EF21.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8FF6
Deuteranopia (green-blind)
#4186EF
Tritanopia (blue-blind)
#5197AC
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7d7ef2;
/* rgb */ color: rgb(125, 126, 242);
/* oklch */ color: oklch(64.7% 0.169 280.2);
Tailwind
colors: {
  custom: {
    50: '#a9a3f7',
    500: '#7d7ef2',
    950: '#000000',
  },
}
SCSS
$custom: #7d7ef2;
$custom-light: #a9a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7ef2",
  "rgb": {
    "r": 125,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 239.487,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.64738,
    "c": 0.16945,
    "h": 280.2
  },
  "luminance": 0.25692
}

Semantic roles & 50–950 ramp

primary
#7D7EF2
secondary
#F4F4D7
accent
#DC07DE
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7D7EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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