#7E76DC#7E76DC

#7E76DC is a mid, vivid blue. Relative luminance 0.226; OKLCH L 62.0% C 0.150 H 284.7°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7E76DC
RGBrgb(126, 118, 220)
HSLhsl(245, 59%, 66%)
HSVhsv(245, 46%, 86%)
CMYKcmyk(42.7%, 46.4%, 0%, 13.7%)
CIE-LABlab(54.61, 28.31, -51.34)
CIE-LCHlch(54.61, 58.62, 298.87°)
OKLaboklab(62% 0.0381 -0.1454)
OKLCHoklch(62% 0.15 284.7)
XYZxyz(27.9972, 22.5587, 70.5754)
Luminance0.2256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E76DC #D4DC76
analogous
#76A1DC #7E76DC #B176DC
triadic
#7E76DC #DC7E76 #76DC7E
tetradic
#7E76DC #DC76A1 #D4DC76 #76DCB1
square
#7E76DC #DC76A1 #D4DC76 #76DCB1
split-complementary
#7E76DC #DCB176 #A1DC76
monochromatic
#362CAC #5045D0 #7E76DC #ACA7E8 #DAD7F5

Accessibility & contrast

On white

3.81
#7E76DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#7E76DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E76DC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E76DC#FFFFFF#000000##000000
##7E76DC1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E86E0
Deuteranopia (green-blind)
#4A80DA
Tritanopia (blue-blind)
#618B9E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7e76dc;
/* rgb */ color: rgb(126, 118, 220);
/* oklch */ color: oklch(62.0% 0.150 284.7);
Tailwind
colors: {
  custom: {
    50: '#a89de7',
    500: '#7e76dc',
    950: '#000000',
  },
}
SCSS
$custom: #7e76dc;
$custom-light: #a89de7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e76dc",
  "rgb": {
    "r": 126,
    "g": 118,
    "b": 220
  },
  "hsl": {
    "h": 244.706,
    "s": 59.302,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61995,
    "c": 0.1503,
    "h": 284.7
  },
  "luminance": 0.2256
}

Semantic roles & 50–950 ramp

primary
#7E76DC
secondary
#E5E8C6
accent
#C71FBA
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7E76DC

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

Preview Lab → · Contrast checker → · Palette generator →

#7E76DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva