#7E7DCD#7E7DCD

#7E7DCD is a light, moderate blue. Relative luminance 0.235; OKLCH L 62.5% C 0.119 H 283.0°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7E7DCD
RGBrgb(126, 125, 205)
HSLhsl(241, 44%, 65%)
HSVhsv(241, 39%, 80%)
CMYKcmyk(38.5%, 39%, 0%, 19.6%)
CIE-LABlab(55.59, 19.91, -41.31)
CIE-LCHlch(55.59, 45.86, 295.72°)
OKLaboklab(62.48% 0.0267 -0.1161)
OKLCHoklch(62.48% 0.119 283)
XYZxyz(26.9541, 23.5096, 60.8634)
Luminance0.2351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7DCD #CCCD7D
analogous
#7DA4CD #7E7DCD #A67DCD
triadic
#7E7DCD #CD7E7D #7DCD7E
tetradic
#7E7DCD #CD7DA4 #CCCD7D #7DCDA6
square
#7E7DCD #CD7DA4 #CCCD7D #7DCDA6
split-complementary
#7E7DCD #CDA67D #A4CD7D
monochromatic
#3B3A96 #5251BC #7E7DCD #AAA9DE #D6D5EF

Accessibility & contrast

On white

3.68
#7E7DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#7E7DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7DCD
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7DCD#FFFFFF#000000##000000
##7E7DCD1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6288D0
Deuteranopia (green-blind)
#5F83CB
Tritanopia (blue-blind)
#688D9B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7e7dcd;
/* rgb */ color: rgb(126, 125, 205);
/* oklch */ color: oklch(62.5% 0.119 283.0);
Tailwind
colors: {
  custom: {
    50: '#a6a2dc',
    500: '#7e7dcd',
    950: '#000000',
  },
}
SCSS
$custom: #7e7dcd;
$custom-light: #a6a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7dcd",
  "rgb": {
    "r": 126,
    "g": 125,
    "b": 205
  },
  "hsl": {
    "h": 240.75,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62484,
    "c": 0.11914,
    "h": 283
  },
  "luminance": 0.23511
}

Semantic roles & 50–950 ramp

primary
#7E7DCD
secondary
#E0E1C5
accent
#B82EB6
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100F15
muted
#7F7E83

Preview Lab

Preview with #7E7DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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