#764CD1#764CD1

#764CD1 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.5% C 0.195 H 293.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#764CD1
RGBrgb(118, 76, 209)
HSLhsl(259, 59%, 56%)
HSVhsv(259, 64%, 82%)
CMYKcmyk(43.5%, 63.6%, 0%, 18%)
CIE-LABlab(43.69, 47.66, -62.68)
CIE-LCHlch(43.69, 78.75, 307.25°)
OKLaboklab(53.51% 0.0768 -0.1791)
OKLCHoklch(53.51% 0.195 293.2)
XYZxyz(21.5611, 13.6233, 61.8028)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CD1 #A7D14C
analogous
#4C64D1 #764CD1 #B84CD1
triadic
#764CD1 #D1764C #4CD176
tetradic
#764CD1 #D14C64 #A7D14C #4CD1B8
square
#764CD1 #D14C64 #A7D14C #4CD1B8
split-complementary
#764CD1 #D1B84C #64D14C
monochromatic
#402181 #582EB2 #764CD1 #9B7DDE #C1ADEA

Accessibility & contrast

On white

5.64
#764CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#764CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CD1
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CD1#FFFFFF#000000##FFFFFF
##764CD11.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D5
Deuteranopia (green-blind)
#0065CE
Tritanopia (blue-blind)
#5C6B88
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #764cd1;
/* rgb */ color: rgb(118, 76, 209);
/* oklch */ color: oklch(53.5% 0.195 293.2);
Tailwind
colors: {
  custom: {
    50: '#a480e0',
    500: '#764cd1',
    950: '#000000',
  },
}
SCSS
$custom: #764cd1;
$custom-light: #a480e0;
$custom-dark: #000000;
JSON
{
  "hex": "#764cd1",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 258.947,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53506,
    "c": 0.19484,
    "h": 293.2
  },
  "luminance": 0.13624
}

Semantic roles & 50–950 ramp

primary
#764CD1
secondary
#C7D8A1
accent
#E246B1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #764CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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