#764D7A#764D7A

#764D7A is a mid, moderate purple. Relative luminance 0.106; OKLCH L 48.3% C 0.086 H 323.7°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#764D7A
RGBrgb(118, 77, 122)
HSLhsl(295, 23%, 39%)
HSVhsv(295, 37%, 48%)
CMYKcmyk(3.3%, 36.9%, 0%, 52.2%)
CIE-LABlab(38.84, 25.39, -18.63)
CIE-LCHlch(38.84, 31.49, 323.74°)
OKLaboklab(48.29% 0.0691 -0.0508)
OKLCHoklch(48.29% 0.086 323.7)
XYZxyz(13.6376, 10.5649, 19.7294)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764D7A #517A4D
analogous
#604D7A #764D7A #7A4D68
triadic
#764D7A #7A764D #4D7A76
tetradic
#764D7A #7A604D #517A4D #4D687A
square
#764D7A #7A604D #517A4D #4D687A
split-complementary
#764D7A #687A4D #4D7A60
monochromatic
#2D1E2F #523554 #764D7A #99669E #B28BB6

Accessibility & contrast

On white

6.75
#764D7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#764D7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764D7A
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764D7A#FFFFFF#000000##FFFFFF
##764D7A1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49587C
Deuteranopia (green-blind)
#535D79
Tritanopia (blue-blind)
#78525E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #764d7a;
/* rgb */ color: rgb(118, 77, 122);
/* oklch */ color: oklch(48.3% 0.086 323.7);
Tailwind
colors: {
  custom: {
    50: '#9e7fa0',
    500: '#764d7a',
    950: '#000000',
  },
}
SCSS
$custom: #764d7a;
$custom-light: #9e7fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#764d7a",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 122
  },
  "hsl": {
    "h": 294.667,
    "s": 22.613,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48291,
    "c": 0.08573,
    "h": 323.7
  },
  "luminance": 0.10564
}

Semantic roles & 50–950 ramp

primary
#764D7A
secondary
#83A380
accent
#BF6970
background
#F9F7F9
surface
#F2EEF2
border
#CCC9CC
text
#0E0A0E
muted
#7E7C7E

Preview Lab

Preview with #764D7A

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

Preview Lab → · Contrast checker → · Palette generator →

#764D7A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva