#764EE5#764EE5

#764EE5 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.3% C 0.216 H 289.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#764EE5
RGBrgb(118, 78, 229)
HSLhsl(256, 74%, 60%)
HSVhsv(256, 66%, 90%)
CMYKcmyk(48.5%, 65.9%, 0%, 10.2%)
CIE-LABlab(45.57, 52.08, -71.03)
CIE-LCHlch(45.57, 88.08, 306.25°)
OKLaboklab(55.34% 0.0725 -0.2036)
OKLCHoklch(55.34% 0.216 289.6)
XYZxyz(24.3344, 14.9565, 75.7182)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764EE5 #BDE54E
analogous
#4E71E5 #764EE5 #C14EE5
triadic
#764EE5 #E5764E #4EE576
tetradic
#764EE5 #E54E71 #BDE54E #4EE5C1
square
#764EE5 #E54E71 #BDE54E #4EE5C1
split-complementary
#764EE5 #E5C14E #71E54E
monochromatic
#3C18A1 #501FD6 #764EE5 #9F83ED #C9B9F5

Accessibility & contrast

On white

5.26
#764EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#764EE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764EE5
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764EE5#FFFFFF#000000##FFFFFF
##764EE51.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEA
Deuteranopia (green-blind)
#0068E2
Tritanopia (blue-blind)
#517393
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #764ee5;
/* rgb */ color: rgb(118, 78, 229);
/* oklch */ color: oklch(55.3% 0.216 289.6);
Tailwind
colors: {
  custom: {
    50: '#a682ee',
    500: '#764ee5',
    950: '#000000',
  },
}
SCSS
$custom: #764ee5;
$custom-light: #a682ee;
$custom-dark: #000000;
JSON
{
  "hex": "#764ee5",
  "rgb": {
    "r": 118,
    "g": 78,
    "b": 229
  },
  "hsl": {
    "h": 255.894,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55335,
    "c": 0.21612,
    "h": 289.6
  },
  "luminance": 0.14957
}

Semantic roles & 50–950 ramp

primary
#764EE5
secondary
#D5E4AA
accent
#D70FA2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #764EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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