#764ED3#764ED3

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

Color values

HEX#764ED3
RGBrgb(118, 78, 211)
HSLhsl(258, 60%, 57%)
HSVhsv(258, 63%, 83%)
CMYKcmyk(44.1%, 63%, 0%, 17.3%)
CIE-LABlab(44.24, 47.12, -62.94)
CIE-LCHlch(44.24, 78.63, 306.82°)
OKLaboklab(53.95% 0.0745 -0.1798)
OKLCHoklch(53.95% 0.195 292.5)
XYZxyz(21.9502, 14.0028, 63.1617)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764ED3 #ABD34E
analogous
#4E69D3 #764ED3 #B94ED3
triadic
#764ED3 #D3764E #4ED376
tetradic
#764ED3 #D34E69 #ABD34E #4ED3B9
square
#764ED3 #D34E69 #ABD34E #4ED3B9
split-complementary
#764ED3 #D3B94E #69D34E
monochromatic
#3F2185 #572DB6 #764ED3 #9C7FDF #C2B0EB

Accessibility & contrast

On white

5.53
#764ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#764ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764ED3
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764ED3#FFFFFF#000000##FFFFFF
##764ED31.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#5B6D89
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #764ed3;
/* rgb */ color: rgb(118, 78, 211);
/* oklch */ color: oklch(53.9% 0.195 292.5);
Tailwind
colors: {
  custom: {
    50: '#a482e1',
    500: '#764ed3',
    950: '#000000',
  },
}
SCSS
$custom: #764ed3;
$custom-light: #a482e1;
$custom-dark: #000000;
JSON
{
  "hex": "#764ed3",
  "rgb": {
    "r": 118,
    "g": 78,
    "b": 211
  },
  "hsl": {
    "h": 258.045,
    "s": 60.181,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5395,
    "c": 0.19464,
    "h": 292.5
  },
  "luminance": 0.14003
}

Semantic roles & 50–950 ramp

primary
#764ED3
secondary
#C9DAA3
accent
#E344B4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #764ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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