#7876DF#7876DF

#7876DF is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.7% C 0.155 H 281.7°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7876DF
RGBrgb(120, 118, 223)
HSLhsl(241, 62%, 67%)
HSVhsv(241, 47%, 87%)
CMYKcmyk(46.2%, 47.1%, 0%, 12.5%)
CIE-LABlab(54.32, 27.76, -53.52)
CIE-LCHlch(54.32, 60.29, 297.41°)
OKLaboklab(61.71% 0.0315 -0.1519)
OKLCHoklch(61.71% 0.155 281.7)
XYZxyz(27.5395, 22.2763, 72.6464)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7876DF #DDDF76
analogous
#76A9DF #7876DF #AD76DF
triadic
#7876DF #DF7876 #76DF78
tetradic
#7876DF #DF76A9 #DDDF76 #76DFAD
square
#7876DF #DF76A9 #DDDF76 #76DFAD
split-complementary
#7876DF #DFAD76 #A9DF76
monochromatic
#2C29B1 #4744D3 #7876DF #A9A8EB #DAD9F6

Accessibility & contrast

On white

3.85
#7876DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#7876DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7876DF
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7876DF#FFFFFF#000000##000000
##7876DF1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A86E3
Deuteranopia (green-blind)
#437EDD
Tritanopia (blue-blind)
#558CA0
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7876df;
/* rgb */ color: rgb(120, 118, 223);
/* oklch */ color: oklch(61.7% 0.155 281.7);
Tailwind
colors: {
  custom: {
    50: '#a49de9',
    500: '#7876df',
    950: '#000000',
  },
}
SCSS
$custom: #7876df;
$custom-light: #a49de9;
$custom-dark: #000000;
JSON
{
  "hex": "#7876df",
  "rgb": {
    "r": 120,
    "g": 118,
    "b": 223
  },
  "hsl": {
    "h": 241.143,
    "s": 62.13,
    "l": 66.863
  },
  "oklch": {
    "l": 0.6171,
    "c": 0.15518,
    "h": 281.7
  },
  "luminance": 0.22278
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7876DF

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

Preview Lab → · Contrast checker → · Palette generator →

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