#7D81C2#7D81C2

#7D81C2 is a light, moderate blue. Relative luminance 0.240; OKLCH L 62.6% C 0.098 H 280.5°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7D81C2
RGBrgb(125, 129, 194)
HSLhsl(237, 36%, 63%)
HSVhsv(237, 36%, 76%)
CMYKcmyk(35.6%, 33.5%, 0%, 23.9%)
CIE-LABlab(56.04, 14.22, -34.37)
CIE-LCHlch(56.04, 37.20, 292.48°)
OKLaboklab(62.64% 0.0177 -0.096)
OKLCHoklch(62.64% 0.098 280.5)
XYZxyz(26.0426, 23.9546, 54.2800)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D81C2 #C2BE7D
analogous
#7DA3C2 #7D81C2 #9C7DC2
triadic
#7D81C2 #C27D81 #81C27D
tetradic
#7D81C2 #C27DA3 #C2BE7D #7DC29C
square
#7D81C2 #C27DA3 #C2BE7D #7DC29C
split-complementary
#7D81C2 #C29C7D #A3C27D
monochromatic
#3F4386 #5359AE #7D81C2 #A7A9D6 #D0D2E9

Accessibility & contrast

On white

3.63
#7D81C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#7D81C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D81C2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D81C2#FFFFFF#000000##000000
##7D81C21.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D89C5
Deuteranopia (green-blind)
#6984C0
Tritanopia (blue-blind)
#6A8D99
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7d81c2;
/* rgb */ color: rgb(125, 129, 194);
/* oklch */ color: oklch(62.6% 0.098 280.5);
Tailwind
colors: {
  custom: {
    50: '#a5a5d4',
    500: '#7d81c2',
    950: '#000000',
  },
}
SCSS
$custom: #7d81c2;
$custom-light: #a5a5d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d81c2",
  "rgb": {
    "r": 125,
    "g": 129,
    "b": 194
  },
  "hsl": {
    "h": 236.522,
    "s": 36.126,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6264,
    "c": 0.09762,
    "h": 280.5
  },
  "luminance": 0.23956
}

Semantic roles & 50–950 ramp

primary
#7D81C2
secondary
#DAD8C1
accent
#A836AF
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F0F14
muted
#7F7F83

Preview Lab

Preview with #7D81C2

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

Preview Lab → · Contrast checker → · Palette generator →

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