#7877DF#7877DF

#7877DF is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.9% C 0.154 H 281.4°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7877DF
RGBrgb(120, 119, 223)
HSLhsl(241, 62%, 67%)
HSVhsv(241, 47%, 87%)
CMYKcmyk(46.2%, 46.6%, 0%, 12.5%)
CIE-LABlab(54.57, 27.16, -53.13)
CIE-LCHlch(54.57, 59.67, 297.08°)
OKLaboklab(61.9% 0.0303 -0.1508)
OKLCHoklch(61.9% 0.154 281.4)
XYZxyz(27.6578, 22.5131, 72.6859)
Luminance0.2251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7877DF #DEDF77
analogous
#77AADF #7877DF #AC77DF
triadic
#7877DF #DF7877 #77DF78
tetradic
#7877DF #DF77AA #DEDF77 #77DFAC
square
#7877DF #DF77AA #DEDF77 #77DFAC
split-complementary
#7877DF #DFAC77 #AADF77
monochromatic
#2B2AB2 #4745D3 #7877DF #A9A9EB #DADAF6

Accessibility & contrast

On white

3.82
#7877DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#7877DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7877DF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7877DF#FFFFFF#000000##000000
##7877DF1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C86E3
Deuteranopia (green-blind)
#457FDD
Tritanopia (blue-blind)
#548DA0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7877df;
/* rgb */ color: rgb(120, 119, 223);
/* oklch */ color: oklch(61.9% 0.154 281.4);
Tailwind
colors: {
  custom: {
    50: '#a49ee9',
    500: '#7877df',
    950: '#000000',
  },
}
SCSS
$custom: #7877df;
$custom-light: #a49ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#7877df",
  "rgb": {
    "r": 120,
    "g": 119,
    "b": 223
  },
  "hsl": {
    "h": 240.577,
    "s": 61.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61898,
    "c": 0.1538,
    "h": 281.4
  },
  "luminance": 0.22514
}

Semantic roles & 50–950 ramp

primary
#7877DF
secondary
#E9E9C8
accent
#CA1CC8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7877DF

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

Preview Lab → · Contrast checker → · Palette generator →

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