#764AED#764AED

#764AED is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.4% C 0.230 H 289.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#764AED
RGBrgb(118, 74, 237)
HSLhsl(256, 82%, 61%)
HSVhsv(256, 69%, 93%)
CMYKcmyk(50.2%, 68.8%, 0%, 7.1%)
CIE-LABlab(45.45, 56.37, -75.76)
CIE-LCHlch(45.45, 94.43, 306.65°)
OKLaboklab(55.44% 0.0749 -0.2175)
OKLCHoklch(55.44% 0.23 289)
XYZxyz(25.2016, 14.8624, 81.6452)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764AED #C1ED4A
analogous
#4A6FED #764AED #C74AED
triadic
#764AED #ED764A #4AED76
tetradic
#764AED #ED4A6F #C1ED4A #4AEDC7
square
#764AED #ED4A6F #C1ED4A #4AEDC7
split-complementary
#764AED #EDC74A #6FED4A
monochromatic
#3B11AC #4E17E3 #764AED #A082F3 #CAB9F8

Accessibility & contrast

On white

5.29
#764AED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#764AED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764AED
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764AED#FFFFFF#000000##FFFFFF
##764AED1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF2
Deuteranopia (green-blind)
#0067EA
Tritanopia (blue-blind)
#4B7496
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #764aed;
/* rgb */ color: rgb(118, 74, 237);
/* oklch */ color: oklch(55.4% 0.230 289.0);
Tailwind
colors: {
  custom: {
    50: '#a780f4',
    500: '#764aed',
    950: '#000000',
  },
}
SCSS
$custom: #764aed;
$custom-light: #a780f4;
$custom-dark: #000000;
JSON
{
  "hex": "#764aed",
  "rgb": {
    "r": 118,
    "g": 74,
    "b": 237
  },
  "hsl": {
    "h": 256.196,
    "s": 81.91,
    "l": 60.98
  },
  "oklch": {
    "l": 0.55438,
    "c": 0.23002,
    "h": 289
  },
  "luminance": 0.14864
}

Semantic roles & 50–950 ramp

primary
#764AED
secondary
#D8E8AB
accent
#DE07A4
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110A17
muted
#807C85

Preview Lab

Preview with #764AED

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

Preview Lab → · Contrast checker → · Palette generator →

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