#7E76DB#7E76DB

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

Color values

HEX#7E76DB
RGBrgb(126, 118, 219)
HSLhsl(245, 58%, 66%)
HSVhsv(245, 46%, 86%)
CMYKcmyk(42.5%, 46.1%, 0%, 14.1%)
CIE-LABlab(54.56, 28.02, -50.86)
CIE-LCHlch(54.56, 58.07, 298.85°)
OKLaboklab(61.94% 0.038 -0.144)
OKLCHoklch(61.94% 0.149 284.8)
XYZxyz(27.8651, 22.5058, 69.8800)
Luminance0.2251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E76DB #D3DB76
analogous
#76A0DB #7E76DB #B076DB
triadic
#7E76DB #DB7E76 #76DB7E
tetradic
#7E76DB #DB76A0 #D3DB76 #76DBB0
square
#7E76DB #DB76A0 #D3DB76 #76DBB0
split-complementary
#7E76DB #DBB076 #A0DB76
monochromatic
#372DAA #5046CE #7E76DB #ACA6E8 #D9D7F4

Accessibility & contrast

On white

3.82
#7E76DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#7E76DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E76DB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E76DB#FFFFFF#000000##000000
##7E76DB1.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)
#4F86DF
Deuteranopia (green-blind)
#4B7FD9
Tritanopia (blue-blind)
#628B9E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e76db;
/* rgb */ color: rgb(126, 118, 219);
/* oklch */ color: oklch(61.9% 0.149 284.8);
Tailwind
colors: {
  custom: {
    50: '#a89de7',
    500: '#7e76db',
    950: '#000000',
  },
}
SCSS
$custom: #7e76db;
$custom-light: #a89de7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e76db",
  "rgb": {
    "r": 126,
    "g": 118,
    "b": 219
  },
  "hsl": {
    "h": 244.752,
    "s": 58.382,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61936,
    "c": 0.14892,
    "h": 284.8
  },
  "luminance": 0.22507
}

Semantic roles & 50–950 ramp

primary
#7E76DB
secondary
#E4E7C6
accent
#C620B9
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7E76DB

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

Preview Lab → · Contrast checker → · Palette generator →

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