#7D76BA#7D76BA

#7D76BA is a mid, moderate blue. Relative luminance 0.209; OKLCH L 60.0% C 0.102 H 287.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7D76BA
RGBrgb(125, 118, 186)
HSLhsl(246, 33%, 60%)
HSVhsv(246, 37%, 73%)
CMYKcmyk(32.8%, 36.6%, 0%, 27.1%)
CIE-LABlab(52.80, 18.59, -34.88)
CIE-LCHlch(52.80, 39.52, 298.06°)
OKLaboklab(60.03% 0.0309 -0.0974)
OKLCHoklch(60.03% 0.102 287.6)
XYZxyz(23.7965, 20.8614, 49.2177)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D76BA #B3BA76
analogous
#7691BA #7D76BA #9F76BA
triadic
#7D76BA #BA7D76 #76BA7D
tetradic
#7D76BA #BA7691 #B3BA76 #76BA9F
square
#7D76BA #BA7691 #B3BA76 #76BA9F
split-complementary
#7D76BA #BA9F76 #91BA76
monochromatic
#433D79 #5A51A1 #7D76BA #A49FCE #CAC7E3

Accessibility & contrast

On white

4.06
#7D76BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#7D76BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D76BA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D76BA#FFFFFF#000000##000000
##7D76BA1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6280BD
Deuteranopia (green-blind)
#617CB8
Tritanopia (blue-blind)
#6E828F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7d76ba;
/* rgb */ color: rgb(125, 118, 186);
/* oklch */ color: oklch(60.0% 0.102 287.6);
Tailwind
colors: {
  custom: {
    50: '#a49dcf',
    500: '#7d76ba',
    950: '#000000',
  },
}
SCSS
$custom: #7d76ba;
$custom-light: #a49dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d76ba",
  "rgb": {
    "r": 125,
    "g": 118,
    "b": 186
  },
  "hsl": {
    "h": 246.176,
    "s": 33.01,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60028,
    "c": 0.10223,
    "h": 287.6
  },
  "luminance": 0.20862
}

Semantic roles & 50–950 ramp

primary
#7D76BA
secondary
#D0D3B9
accent
#C95FBE
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7D76BA

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

Preview Lab → · Contrast checker → · Palette generator →

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