#764EAE#764EAE

#764EAE is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.4% C 0.149 H 300.5°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#764EAE
RGBrgb(118, 78, 174)
HSLhsl(265, 38%, 49%)
HSVhsv(265, 55%, 68%)
CMYKcmyk(32.2%, 55.2%, 0%, 31.8%)
CIE-LABlab(41.78, 37.21, -45.37)
CIE-LCHlch(41.78, 58.68, 309.35°)
OKLaboklab(51.37% 0.0755 -0.1282)
OKLCHoklch(51.37% 0.149 300.5)
XYZxyz(17.8338, 12.3562, 41.4816)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764EAE #86AE4E
analogous
#4E56AE #764EAE #A64EAE
triadic
#764EAE #AE764E #4EAE76
tetradic
#764EAE #AE4E56 #86AE4E #4EAEA6
square
#764EAE #AE4E56 #86AE4E #4EAEA6
split-complementary
#764EAE #AEA64E #56AE4E
monochromatic
#3D2859 #593B84 #764EAE #9677C2 #B7A1D5

Accessibility & contrast

On white

6.05
#764EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#764EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764EAE
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764EAE#FFFFFF#000000##FFFFFF
##764EAE1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2862B1
Deuteranopia (green-blind)
#3562AC
Tritanopia (blue-blind)
#6B6176
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #764eae;
/* rgb */ color: rgb(118, 78, 174);
/* oklch */ color: oklch(51.4% 0.149 300.5);
Tailwind
colors: {
  custom: {
    50: '#a181c7',
    500: '#764eae',
    950: '#000000',
  },
}
SCSS
$custom: #764eae;
$custom-light: #a181c7;
$custom-dark: #000000;
JSON
{
  "hex": "#764eae",
  "rgb": {
    "r": 118,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 265,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51367,
    "c": 0.14876,
    "h": 300.5
  },
  "luminance": 0.12356
}

Semantic roles & 50–950 ramp

primary
#764EAE
secondary
#B0C296
accent
#CE5A9E
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #764EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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