#764797#764797

#764797 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 48.8% C 0.131 H 309.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#764797
RGBrgb(118, 71, 151)
HSLhsl(275, 36%, 44%)
HSVhsv(275, 53%, 59%)
CMYKcmyk(21.9%, 53%, 0%, 40.8%)
CIE-LABlab(38.89, 35.47, -36.25)
CIE-LCHlch(38.89, 50.71, 314.38°)
OKLaboklab(48.8% 0.0836 -0.1015)
OKLCHoklch(48.8% 0.131 309.5)
XYZxyz(15.3093, 10.5926, 30.5102)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764797 #689747
analogous
#4E4797 #764797 #974790
triadic
#764797 #977647 #479776
tetradic
#764797 #974E47 #689747 #479097
square
#764797 #974E47 #689747 #479097
split-complementary
#764797 #909747 #47974E
monochromatic
#352044 #55336D #764797 #9565B6 #B18ECA

Accessibility & contrast

On white

6.73
#764797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#764797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764797
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764797#FFFFFF#000000##FFFFFF
##7647971.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31599A
Deuteranopia (green-blind)
#3F5C95
Tritanopia (blue-blind)
#725568
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #764797;
/* rgb */ color: rgb(118, 71, 151);
/* oklch */ color: oklch(48.8% 0.131 309.5);
Tailwind
colors: {
  custom: {
    50: '#9f7cb6',
    500: '#764797',
    950: '#000000',
  },
}
SCSS
$custom: #764797;
$custom-light: #9f7cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#764797",
  "rgb": {
    "r": 118,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 275.25,
    "s": 36.036,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48796,
    "c": 0.13149,
    "h": 309.5
  },
  "luminance": 0.10592
}

Semantic roles & 50–950 ramp

primary
#764797
secondary
#99B684
accent
#CC5C8A
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #764797

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

Preview Lab → · Contrast checker → · Palette generator →

#764797 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva