#764ED2#764ED2

#764ED2 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.9% C 0.193 H 292.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#764ED2
RGBrgb(118, 78, 210)
HSLhsl(258, 59%, 56%)
HSVhsv(258, 63%, 82%)
CMYKcmyk(43.8%, 62.9%, 0%, 17.6%)
CIE-LABlab(44.17, 46.85, -62.48)
CIE-LCHlch(44.17, 78.10, 306.86°)
OKLaboklab(53.87% 0.0746 -0.1785)
OKLCHoklch(53.87% 0.193 292.7)
XYZxyz(21.8253, 13.9528, 62.5035)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764ED2 #AAD24E
analogous
#4E68D2 #764ED2 #B84ED2
triadic
#764ED2 #D2764E #4ED276
tetradic
#764ED2 #D24E68 #AAD24E #4ED2B8
square
#764ED2 #D24E68 #AAD24E #4ED2B8
split-complementary
#764ED2 #D2B84E #68D24E
monochromatic
#3F2284 #572EB5 #764ED2 #9C7FDE #C2B0EB

Accessibility & contrast

On white

5.54
#764ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#764ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764ED2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764ED2#FFFFFF#000000##FFFFFF
##764ED21.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#5C6D89
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #764ed2;
/* rgb */ color: rgb(118, 78, 210);
/* oklch */ color: oklch(53.9% 0.193 292.7);
Tailwind
colors: {
  custom: {
    50: '#a482e1',
    500: '#764ed2',
    950: '#000000',
  },
}
SCSS
$custom: #764ed2;
$custom-light: #a482e1;
$custom-dark: #000000;
JSON
{
  "hex": "#764ed2",
  "rgb": {
    "r": 118,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 258.182,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53875,
    "c": 0.19343,
    "h": 292.7
  },
  "luminance": 0.13953
}

Semantic roles & 50–950 ramp

primary
#764ED2
secondary
#C9D9A3
accent
#E345B3
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #764ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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