#764DD4#764DD4

#764DD4 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.197 H 292.5°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#764DD4
RGBrgb(118, 77, 212)
HSLhsl(258, 61%, 57%)
HSVhsv(258, 64%, 83%)
CMYKcmyk(44.3%, 63.7%, 0%, 16.9%)
CIE-LABlab(44.11, 47.94, -63.73)
CIE-LCHlch(44.11, 79.75, 306.95°)
OKLaboklab(53.88% 0.0755 -0.1821)
OKLCHoklch(53.88% 0.197 292.5)
XYZxyz(22.0055, 13.9121, 63.8005)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764DD4 #ABD44D
analogous
#4D68D4 #764DD4 #BA4DD4
triadic
#764DD4 #D4764D #4DD476
tetradic
#764DD4 #D44D68 #ABD44D #4DD4BA
square
#764DD4 #D44D68 #ABD44D #4DD4BA
split-complementary
#764DD4 #D4BA4D #68D44D
monochromatic
#3F2086 #572CB7 #764DD4 #9C7EE0 #C2B0EC

Accessibility & contrast

On white

5.55
#764DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#764DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764DD4
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764DD4#FFFFFF#000000##FFFFFF
##764DD41.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD8
Deuteranopia (green-blind)
#0066D1
Tritanopia (blue-blind)
#5B6D8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #764dd4;
/* rgb */ color: rgb(118, 77, 212);
/* oklch */ color: oklch(53.9% 0.197 292.5);
Tailwind
colors: {
  custom: {
    50: '#a481e2',
    500: '#764dd4',
    950: '#000000',
  },
}
SCSS
$custom: #764dd4;
$custom-light: #a481e2;
$custom-dark: #000000;
JSON
{
  "hex": "#764dd4",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 212
  },
  "hsl": {
    "h": 258.222,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53878,
    "c": 0.19715,
    "h": 292.5
  },
  "luminance": 0.13913
}

Semantic roles & 50–950 ramp

primary
#764DD4
secondary
#C9DAA3
accent
#E444B3
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #764DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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