#764AD5#764AD5

#764AD5 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.5% C 0.202 H 292.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#764AD5
RGBrgb(118, 74, 213)
HSLhsl(259, 62%, 56%)
HSVhsv(259, 65%, 84%)
CMYKcmyk(44.6%, 65.3%, 0%, 16.5%)
CIE-LABlab(43.58, 49.83, -65.15)
CIE-LCHlch(43.58, 82.02, 307.41°)
OKLaboklab(53.52% 0.0785 -0.1863)
OKLCHoklch(53.52% 0.202 292.8)
XYZxyz(21.9269, 13.5525, 64.3985)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764AD5 #A9D54A
analogous
#4A64D5 #764AD5 #BC4AD5
triadic
#764AD5 #D5764A #4AD576
tetradic
#764AD5 #D54A64 #A9D54A #4AD5BC
square
#764AD5 #D54A64 #A9D54A #4AD5BC
split-complementary
#764AD5 #D5BC4A #64D54A
monochromatic
#3F1F86 #572BB7 #764AD5 #9C7CE1 #C1ADEC

Accessibility & contrast

On white

5.66
#764AD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#764AD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764AD5
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764AD5#FFFFFF#000000##FFFFFF
##764AD51.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#0064D2
Tritanopia (blue-blind)
#5A6B89
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #764ad5;
/* rgb */ color: rgb(118, 74, 213);
/* oklch */ color: oklch(53.5% 0.202 292.8);
Tailwind
colors: {
  custom: {
    50: '#a57fe3',
    500: '#764ad5',
    950: '#000000',
  },
}
SCSS
$custom: #764ad5;
$custom-light: #a57fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#764ad5",
  "rgb": {
    "r": 118,
    "g": 74,
    "b": 213
  },
  "hsl": {
    "h": 258.993,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53524,
    "c": 0.20216,
    "h": 292.8
  },
  "luminance": 0.13553
}

Semantic roles & 50–950 ramp

primary
#764AD5
secondary
#C8DAA1
accent
#E542B2
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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