#7E7DF2#7E7DF2

#7E7DF2 is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.6% C 0.171 H 280.9°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7E7DF2
RGBrgb(126, 125, 242)
HSLhsl(241, 82%, 72%)
HSVhsv(241, 48%, 95%)
CMYKcmyk(47.9%, 48.3%, 0%, 5.1%)
CIE-LABlab(57.57, 30.57, -58.90)
CIE-LCHlch(57.57, 66.37, 297.43°)
OKLaboklab(64.63% 0.0322 -0.1676)
OKLCHoklch(64.63% 0.171 280.9)
XYZxyz(31.9599, 25.5120, 87.2274)
Luminance0.2551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7DF2 #F1F27D
analogous
#7DB7F2 #7E7DF2 #B97DF2
triadic
#7E7DF2 #F27E7D #7DF27E
tetradic
#7E7DF2 #F27DB7 #F1F27D #7DF2B9
square
#7E7DF2 #F27DB7 #F1F27D #7DF2B9
split-complementary
#7E7DF2 #F2B97D #B7F27D
monochromatic
#1816DE #4745EC #7E7DF2 #B5B5F8 #E3E3FC

Accessibility & contrast

On white

3.44
#7E7DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#7E7DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7DF2
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7DF2#FFFFFF#000000##000000
##7E7DF21.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#498FF6
Deuteranopia (green-blind)
#4086EF
Tritanopia (blue-blind)
#5396AC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7e7df2;
/* rgb */ color: rgb(126, 125, 242);
/* oklch */ color: oklch(64.6% 0.171 280.9);
Tailwind
colors: {
  custom: {
    50: '#aaa2f7',
    500: '#7e7df2',
    950: '#000000',
  },
}
SCSS
$custom: #7e7df2;
$custom-light: #aaa2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7df2",
  "rgb": {
    "r": 126,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 240.513,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.64627,
    "c": 0.17063,
    "h": 280.9
  },
  "luminance": 0.25514
}

Semantic roles & 50–950 ramp

primary
#7E7DF2
secondary
#F4F4D7
accent
#DE07DC
background
#FAFAFF
surface
#F5F3FF
border
#CFCDD7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7E7DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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