#764D97#764D97

#764D97 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 49.8% C 0.121 H 308.2°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#764D97
RGBrgb(118, 77, 151)
HSLhsl(273, 32%, 45%)
HSVhsv(273, 49%, 59%)
CMYKcmyk(21.9%, 49%, 0%, 40.8%)
CIE-LABlab(40.24, 32.00, -34.11)
CIE-LCHlch(40.24, 46.77, 313.18°)
OKLaboklab(49.8% 0.0749 -0.0953)
OKLCHoklch(49.8% 0.121 308.2)
XYZxyz(15.7099, 11.3939, 30.6438)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764D97 #6E974D
analogous
#514D97 #764D97 #974D93
triadic
#764D97 #97764D #4D9776
tetradic
#764D97 #97514D #6E974D #4D9397
square
#764D97 #97514D #6E974D #4D9397
split-complementary
#764D97 #93974D #4D9751
monochromatic
#372446 #56386E #764D97 #946DB4 #B295C9

Accessibility & contrast

On white

6.40
#764D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#764D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764D97
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764D97#FFFFFF#000000##FFFFFF
##764D971.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5D9A
Deuteranopia (green-blind)
#455F95
Tritanopia (blue-blind)
#71596B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #764d97;
/* rgb */ color: rgb(118, 77, 151);
/* oklch */ color: oklch(49.8% 0.121 308.2);
Tailwind
colors: {
  custom: {
    50: '#9f80b6',
    500: '#764d97',
    950: '#000000',
  },
}
SCSS
$custom: #764d97;
$custom-light: #9f80b6;
$custom-dark: #000000;
JSON
{
  "hex": "#764d97",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 273.243,
    "s": 32.456,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49798,
    "c": 0.1212,
    "h": 308.2
  },
  "luminance": 0.11394
}

Semantic roles & 50–950 ramp

primary
#764D97
secondary
#9EB68A
accent
#C95F8E
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0F0A11
muted
#7E7C80

Preview Lab

Preview with #764D97

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

Preview Lab → · Contrast checker → · Palette generator →

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