#7E76BB#7E76BB

#7E76BB is a mid, moderate blue. Relative luminance 0.210; OKLCH L 60.2% C 0.104 H 288.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7E76BB
RGBrgb(126, 118, 187)
HSLhsl(247, 34%, 60%)
HSVhsv(247, 37%, 73%)
CMYKcmyk(32.6%, 36.9%, 0%, 26.7%)
CIE-LABlab(52.93, 19.15, -35.24)
CIE-LCHlch(52.93, 40.11, 298.52°)
OKLaboklab(60.16% 0.0323 -0.0985)
OKLCHoklch(60.16% 0.104 288.2)
XYZxyz(24.0499, 20.9798, 49.7865)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E76BB #B3BB76
analogous
#7690BB #7E76BB #A176BB
triadic
#7E76BB #BB7E76 #76BB7E
tetradic
#7E76BB #BB7690 #B3BB76 #76BBA1
square
#7E76BB #BB7690 #B3BB76 #76BBA1
split-complementary
#7E76BB #BBA176 #90BB76
monochromatic
#443D7A #5A51A3 #7E76BB #A59FCF #CBC8E4

Accessibility & contrast

On white

4.04
#7E76BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#7E76BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E76BB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E76BB#FFFFFF#000000##000000
##7E76BB1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6180BE
Deuteranopia (green-blind)
#617DB9
Tritanopia (blue-blind)
#6F8390
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e76bb;
/* rgb */ color: rgb(126, 118, 187);
/* oklch */ color: oklch(60.2% 0.104 288.2);
Tailwind
colors: {
  custom: {
    50: '#a59dcf',
    500: '#7e76bb',
    950: '#000000',
  },
}
SCSS
$custom: #7e76bb;
$custom-light: #a59dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7e76bb",
  "rgb": {
    "r": 126,
    "g": 118,
    "b": 187
  },
  "hsl": {
    "h": 246.957,
    "s": 33.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60163,
    "c": 0.10364,
    "h": 288.2
  },
  "luminance": 0.2098
}

Semantic roles & 50–950 ramp

primary
#7E76BB
secondary
#D1D4B9
accent
#CA5EBD
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7E76BB

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

Preview Lab → · Contrast checker → · Palette generator →

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