#7882CA#7882CA

#7882CA is a light, moderate blue. Relative luminance 0.242; OKLCH L 62.9% C 0.109 H 276.8°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7882CA
RGBrgb(120, 130, 202)
HSLhsl(233, 44%, 63%)
HSVhsv(233, 41%, 79%)
CMYKcmyk(40.6%, 35.6%, 0%, 20.8%)
CIE-LABlab(56.31, 14.50, -38.52)
CIE-LCHlch(56.31, 41.16, 290.62°)
OKLaboklab(62.87% 0.0128 -0.1081)
OKLCHoklch(62.87% 0.109 276.8)
XYZxyz(26.3859, 24.2214, 59.1506)
Luminance0.2422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7882CA #CAC078
analogous
#78ABCA #7882CA #9778CA
triadic
#7882CA #CA7882 #82CA78
tetradic
#7882CA #CA78AB #CAC078 #78CA97
square
#7882CA #CA78AB #CAC078 #78CA97
split-complementary
#7882CA #CA9778 #ABCA78
monochromatic
#38438F #4C59B9 #7882CA #A4ABDB #D0D3ED

Accessibility & contrast

On white

3.59
#7882CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#7882CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7882CA
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7882CA#FFFFFF#000000##000000
##7882CA1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#698ACD
Deuteranopia (green-blind)
#6484C8
Tritanopia (blue-blind)
#5E909C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7882ca;
/* rgb */ color: rgb(120, 130, 202);
/* oklch */ color: oklch(62.9% 0.109 276.8);
Tailwind
colors: {
  custom: {
    50: '#a2a6da',
    500: '#7882ca',
    950: '#000000',
  },
}
SCSS
$custom: #7882ca;
$custom-light: #a2a6da;
$custom-dark: #000000;
JSON
{
  "hex": "#7882ca",
  "rgb": {
    "r": 120,
    "g": 130,
    "b": 202
  },
  "hsl": {
    "h": 232.683,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62874,
    "c": 0.10885,
    "h": 276.8
  },
  "luminance": 0.24223
}

Semantic roles & 50–950 ramp

primary
#7882CA
secondary
#DEDAC0
accent
#A62FB7
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #7882CA

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

Preview Lab → · Contrast checker → · Palette generator →

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