#764EDC#764EDC

#764EDC is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.6% C 0.205 H 291.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#764EDC
RGBrgb(118, 78, 220)
HSLhsl(257, 67%, 58%)
HSVhsv(257, 65%, 86%)
CMYKcmyk(46.4%, 64.5%, 0%, 13.7%)
CIE-LABlab(44.90, 49.60, -67.02)
CIE-LCHlch(44.90, 83.38, 306.50°)
OKLaboklab(54.63% 0.0736 -0.1918)
OKLCHoklch(54.63% 0.205 291)
XYZxyz(23.1102, 14.4668, 69.2710)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764EDC #B4DC4E
analogous
#4E6DDC #764EDC #BD4EDC
triadic
#764EDC #DC764E #4EDC76
tetradic
#764EDC #DC4E6D #B4DC4E #4EDCBD
square
#764EDC #DC4E6D #B4DC4E #4EDCBD
split-complementary
#764EDC #DCBD4E #6DDC4E
monochromatic
#3E1D93 #5427C6 #764EDC #9E81E6 #C5B4F0

Accessibility & contrast

On white

5.39
#764EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#764EDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764EDC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764EDC#FFFFFF#000000##FFFFFF
##764EDC1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#56708E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #764edc;
/* rgb */ color: rgb(118, 78, 220);
/* oklch */ color: oklch(54.6% 0.205 291.0);
Tailwind
colors: {
  custom: {
    50: '#a582e8',
    500: '#764edc',
    950: '#000000',
  },
}
SCSS
$custom: #764edc;
$custom-light: #a582e8;
$custom-dark: #000000;
JSON
{
  "hex": "#764edc",
  "rgb": {
    "r": 118,
    "g": 78,
    "b": 220
  },
  "hsl": {
    "h": 256.901,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54633,
    "c": 0.20545,
    "h": 291
  },
  "luminance": 0.14468
}

Semantic roles & 50–950 ramp

primary
#764EDC
secondary
#CFDFA7
accent
#EA3EB9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #764EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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