#764AA5#764AA5

#764AA5 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.1% C 0.144 H 304.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#764AA5
RGBrgb(118, 74, 165)
HSLhsl(269, 38%, 47%)
HSVhsv(269, 55%, 65%)
CMYKcmyk(28.5%, 55.2%, 0%, 35.3%)
CIE-LABlab(40.35, 37.20, -42.31)
CIE-LCHlch(40.35, 56.33, 311.32°)
OKLaboklab(50.14% 0.0804 -0.1192)
OKLCHoklch(50.14% 0.144 304)
XYZxyz(16.7100, 11.4658, 36.9228)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764AA5 #79A54A
analogous
#4A4CA5 #764AA5 #A44AA5
triadic
#764AA5 #A5764A #4AA576
tetradic
#764AA5 #A54A4C #79A54A #4AA5A4
square
#764AA5 #A54A4C #79A54A #4AA5A4
split-complementary
#764AA5 #A5A44A #4CA54A
monochromatic
#3A2450 #58377B #764AA5 #956EBE #B498D1

Accessibility & contrast

On white

6.38
#764AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#764AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764AA5
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764AA5#FFFFFF#000000##FFFFFF
##764AA51.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295EA8
Deuteranopia (green-blind)
#385FA3
Tritanopia (blue-blind)
#6E5B70
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #764aa5;
/* rgb */ color: rgb(118, 74, 165);
/* oklch */ color: oklch(50.1% 0.144 304.0);
Tailwind
colors: {
  custom: {
    50: '#a07ec0',
    500: '#764aa5',
    950: '#000000',
  },
}
SCSS
$custom: #764aa5;
$custom-light: #a07ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#764aa5",
  "rgb": {
    "r": 118,
    "g": 74,
    "b": 165
  },
  "hsl": {
    "h": 269.011,
    "s": 38.075,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50143,
    "c": 0.14379,
    "h": 304
  },
  "luminance": 0.11466
}

Semantic roles & 50–950 ramp

primary
#764AA5
secondary
#A6BD8E
accent
#CE5A96
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #764AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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