#764A97#764A97

#764A97 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.3% C 0.126 H 308.9°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#764A97
RGBrgb(118, 74, 151)
HSLhsl(274, 34%, 44%)
HSVhsv(274, 51%, 59%)
CMYKcmyk(21.9%, 51%, 0%, 40.8%)
CIE-LABlab(39.55, 33.75, -35.19)
CIE-LCHlch(39.55, 48.75, 313.80°)
OKLaboklab(49.29% 0.0793 -0.0984)
OKLCHoklch(49.29% 0.126 308.9)
XYZxyz(15.5048, 10.9837, 30.5754)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764A97 #6B974A
analogous
#504A97 #764A97 #974A92
triadic
#764A97 #97764A #4A9776
tetradic
#764A97 #97504A #6B974A #4A9297
square
#764A97 #97504A #6B974A #4A9297
split-complementary
#764A97 #92974A #4A9750
monochromatic
#362245 #56366E #764A97 #9569B5 #B292CA

Accessibility & contrast

On white

6.57
#764A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#764A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764A97
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764A97#FFFFFF#000000##FFFFFF
##764A971.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365B9A
Deuteranopia (green-blind)
#425E95
Tritanopia (blue-blind)
#725769
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #764a97;
/* rgb */ color: rgb(118, 74, 151);
/* oklch */ color: oklch(49.3% 0.126 308.9);
Tailwind
colors: {
  custom: {
    50: '#9f7eb6',
    500: '#764a97',
    950: '#000000',
  },
}
SCSS
$custom: #764a97;
$custom-light: #9f7eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#764a97",
  "rgb": {
    "r": 118,
    "g": 74,
    "b": 151
  },
  "hsl": {
    "h": 274.286,
    "s": 34.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4929,
    "c": 0.12638,
    "h": 308.9
  },
  "luminance": 0.10983
}

Semantic roles & 50–950 ramp

primary
#764A97
secondary
#9BB687
accent
#CA5D8C
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #764A97

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

Preview Lab → · Contrast checker → · Palette generator →

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