#7882CD#7882CD

#7882CD is a light, moderate blue. Relative luminance 0.244; OKLCH L 63.0% C 0.113 H 276.9°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7882CD
RGBrgb(120, 130, 205)
HSLhsl(233, 46%, 64%)
HSVhsv(233, 41%, 80%)
CMYKcmyk(41.5%, 36.6%, 0%, 19.6%)
CIE-LABlab(56.45, 15.35, -39.99)
CIE-LCHlch(56.45, 42.84, 291.00°)
OKLaboklab(63.03% 0.0135 -0.1124)
OKLCHoklch(63.03% 0.113 276.9)
XYZxyz(26.7445, 24.3649, 61.0395)
Luminance0.2437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7882CD #CDC378
analogous
#78ACCD #7882CD #9878CD
triadic
#7882CD #CD7882 #82CD78
tetradic
#7882CD #CD78AC #CDC378 #78CD98
square
#7882CD #CD78AC #CDC378 #78CD98
split-complementary
#7882CD #CD9878 #ACCD78
monochromatic
#374294 #4B59BC #7882CD #A5ABDE #D1D5EE

Accessibility & contrast

On white

3.58
#7882CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#7882CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7882CD
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7882CD#FFFFFF#000000##000000
##7882CD1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#688BD0
Deuteranopia (green-blind)
#6284CB
Tritanopia (blue-blind)
#5D919E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7882cd;
/* rgb */ color: rgb(120, 130, 205);
/* oklch */ color: oklch(63.0% 0.113 276.9);
Tailwind
colors: {
  custom: {
    50: '#a2a6dc',
    500: '#7882cd',
    950: '#000000',
  },
}
SCSS
$custom: #7882cd;
$custom-light: #a2a6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7882cd",
  "rgb": {
    "r": 120,
    "g": 130,
    "b": 205
  },
  "hsl": {
    "h": 232.941,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6303,
    "c": 0.11318,
    "h": 276.9
  },
  "luminance": 0.24366
}

Semantic roles & 50–950 ramp

primary
#7882CD
secondary
#DFDCC1
accent
#A92CB9
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #7882CD

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

Preview Lab → · Contrast checker → · Palette generator →

#7882CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva