#764C97#764C97

#764C97 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.6% C 0.123 H 308.4°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#764C97
RGBrgb(118, 76, 151)
HSLhsl(274, 33%, 45%)
HSVhsv(274, 50%, 59%)
CMYKcmyk(21.9%, 49.7%, 0%, 40.8%)
CIE-LABlab(40.01, 32.59, -34.47)
CIE-LCHlch(40.01, 47.43, 313.39°)
OKLaboklab(49.63% 0.0764 -0.0963)
OKLCHoklch(49.63% 0.123 308.4)
XYZxyz(15.6405, 11.2550, 30.6206)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764C97 #6D974C
analogous
#514C97 #764C97 #974C93
triadic
#764C97 #97764C #4C9776
tetradic
#764C97 #97514C #6D974C #4C9397
square
#764C97 #97514C #6D974C #4C9397
split-complementary
#764C97 #93974C #4C9751
monochromatic
#362346 #56386E #764C97 #946BB5 #B294C9

Accessibility & contrast

On white

6.46
#764C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#764C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764C97
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764C97#FFFFFF#000000##FFFFFF
##764C971.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395D9A
Deuteranopia (green-blind)
#445F95
Tritanopia (blue-blind)
#71596A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #764c97;
/* rgb */ color: rgb(118, 76, 151);
/* oklch */ color: oklch(49.6% 0.123 308.4);
Tailwind
colors: {
  custom: {
    50: '#9f7fb6',
    500: '#764c97',
    950: '#000000',
  },
}
SCSS
$custom: #764c97;
$custom-light: #9f7fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#764c97",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 273.6,
    "s": 33.04,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49627,
    "c": 0.12293,
    "h": 308.4
  },
  "luminance": 0.11255
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #764C97

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

Preview Lab → · Contrast checker → · Palette generator →

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