#7D7DCA#7D7DCA

#7D7DCA is a light, moderate blue. Relative luminance 0.233; OKLCH L 62.2% C 0.115 H 282.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7D7DCA
RGBrgb(125, 125, 202)
HSLhsl(240, 42%, 64%)
HSVhsv(240, 38%, 79%)
CMYKcmyk(38.1%, 38.1%, 0%, 20.8%)
CIE-LABlab(55.37, 18.80, -39.97)
CIE-LCHlch(55.37, 44.17, 295.19°)
OKLaboklab(62.25% 0.025 -0.1122)
OKLCHoklch(62.25% 0.115 282.5)
XYZxyz(26.4487, 23.2905, 58.9676)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7DCA #CACA7D
analogous
#7DA4CA #7D7DCA #A47DCA
triadic
#7D7DCA #CA7D7D #7DCA7D
tetradic
#7D7DCA #CA7DA4 #CACA7D #7DCAA4
square
#7D7DCA #CA7DA4 #CACA7D #7DCAA4
split-complementary
#7D7DCA #CAA47D #A4CA7D
monochromatic
#3B3B91 #5252B8 #7D7DCA #A8A8DC #D4D4ED

Accessibility & contrast

On white

3.71
#7D7DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#7D7DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7DCA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7DCA#FFFFFF#000000##000000
##7D7DCA1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6387CD
Deuteranopia (green-blind)
#6082C8
Tritanopia (blue-blind)
#678C9A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7d7dca;
/* rgb */ color: rgb(125, 125, 202);
/* oklch */ color: oklch(62.2% 0.115 282.5);
Tailwind
colors: {
  custom: {
    50: '#a5a2da',
    500: '#7d7dca',
    950: '#000000',
  },
}
SCSS
$custom: #7d7dca;
$custom-light: #a5a2da;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7dca",
  "rgb": {
    "r": 125,
    "g": 125,
    "b": 202
  },
  "hsl": {
    "h": 240,
    "s": 42.077,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62246,
    "c": 0.11495,
    "h": 282.5
  },
  "luminance": 0.23291
}

Semantic roles & 50–950 ramp

primary
#7D7DCA
secondary
#DFDFC4
accent
#B530B5
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100F15
muted
#7F7E83

Preview Lab

Preview with #7D7DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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