#764AD4#764AD4

#764AD4 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.4% C 0.201 H 293.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#764AD4
RGBrgb(118, 74, 212)
HSLhsl(259, 62%, 56%)
HSVhsv(259, 65%, 83%)
CMYKcmyk(44.3%, 65.1%, 0%, 16.9%)
CIE-LABlab(43.51, 49.56, -64.70)
CIE-LCHlch(43.51, 81.49, 307.45°)
OKLaboklab(53.45% 0.0786 -0.185)
OKLCHoklch(53.45% 0.201 293)
XYZxyz(21.8004, 13.5019, 63.7321)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764AD4 #A8D44A
analogous
#4A63D4 #764AD4 #BB4AD4
triadic
#764AD4 #D4764A #4AD476
tetradic
#764AD4 #D44A63 #A8D44A #4AD4BB
square
#764AD4 #D44A63 #A8D44A #4AD4BB
split-complementary
#764AD4 #D4BB4A #63D44A
monochromatic
#401F84 #572BB6 #764AD4 #9B7BE0 #C1ADEB

Accessibility & contrast

On white

5.67
#764AD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#764AD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764AD4
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764AD4#FFFFFF#000000##FFFFFF
##764AD41.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#0064D1
Tritanopia (blue-blind)
#5B6B89
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #764ad4;
/* rgb */ color: rgb(118, 74, 212);
/* oklch */ color: oklch(53.4% 0.201 293.0);
Tailwind
colors: {
  custom: {
    50: '#a47fe2',
    500: '#764ad4',
    950: '#000000',
  },
}
SCSS
$custom: #764ad4;
$custom-light: #a47fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#764ad4",
  "rgb": {
    "r": 118,
    "g": 74,
    "b": 212
  },
  "hsl": {
    "h": 259.13,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53447,
    "c": 0.20098,
    "h": 293
  },
  "luminance": 0.13503
}

Semantic roles & 50–950 ramp

primary
#764AD4
secondary
#C7D9A0
accent
#E543B1
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #764AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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