#7877D3#7877D3

#7877D3 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.2% C 0.137 H 282.1°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7877D3
RGBrgb(120, 119, 211)
HSLhsl(241, 51%, 65%)
HSVhsv(241, 44%, 83%)
CMYKcmyk(43.1%, 43.6%, 0%, 17.3%)
CIE-LABlab(53.91, 23.65, -47.41)
CIE-LCHlch(53.91, 52.98, 296.51°)
OKLaboklab(61.19% 0.0286 -0.134)
OKLCHoklch(61.19% 0.137 282.1)
XYZxyz(26.0970, 21.8887, 64.4653)
Luminance0.2189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7877D3 #D2D377
analogous
#77A4D3 #7877D3 #A677D3
triadic
#7877D3 #D37877 #77D378
tetradic
#7877D3 #D377A4 #D2D377 #77D3A6
square
#7877D3 #D377A4 #D2D377 #77D3A6
split-complementary
#7877D3 #D3A677 #A4D377
monochromatic
#34339D #4A49C4 #7877D3 #A6A5E2 #D4D3F1

Accessibility & contrast

On white

3.90
#7877D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7877D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7877D3
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7877D3#FFFFFF#000000##000000
##7877D31.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5484D6
Deuteranopia (green-blind)
#507ED1
Tritanopia (blue-blind)
#5B8A9B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7877d3;
/* rgb */ color: rgb(120, 119, 211);
/* oklch */ color: oklch(61.2% 0.137 282.1);
Tailwind
colors: {
  custom: {
    50: '#a39ee1',
    500: '#7877d3',
    950: '#000000',
  },
}
SCSS
$custom: #7877d3;
$custom-light: #a39ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#7877d3",
  "rgb": {
    "r": 120,
    "g": 119,
    "b": 211
  },
  "hsl": {
    "h": 240.652,
    "s": 51.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61185,
    "c": 0.13705,
    "h": 282.1
  },
  "luminance": 0.2189
}

Semantic roles & 50–950 ramp

primary
#7877D3
secondary
#E2E3C3
accent
#BE27BD
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7877D3

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

Preview Lab → · Contrast checker → · Palette generator →

#7877D3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva