#764EE6#764EE6

#764EE6 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.4% C 0.217 H 289.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#764EE6
RGBrgb(118, 78, 230)
HSLhsl(256, 75%, 60%)
HSVhsv(256, 66%, 90%)
CMYKcmyk(48.7%, 66.1%, 0%, 9.8%)
CIE-LABlab(45.65, 52.36, -71.47)
CIE-LCHlch(45.65, 88.60, 306.23°)
OKLaboklab(55.42% 0.0724 -0.2049)
OKLCHoklch(55.42% 0.217 289.5)
XYZxyz(24.4744, 15.0125, 76.4557)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764EE6 #BEE64E
analogous
#4E72E6 #764EE6 #C24EE6
triadic
#764EE6 #E6764E #4EE676
tetradic
#764EE6 #E64E72 #BEE64E #4EE6C2
square
#764EE6 #E64E72 #BEE64E #4EE6C2
split-complementary
#764EE6 #E6C24E #72E64E
monochromatic
#3C17A3 #4F1FD8 #764EE6 #A084EE #C9B9F5

Accessibility & contrast

On white

5.25
#764EE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#764EE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764EE6
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764EE6#FFFFFF#000000##FFFFFF
##764EE61.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEB
Deuteranopia (green-blind)
#0068E3
Tritanopia (blue-blind)
#507494
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #764ee6;
/* rgb */ color: rgb(118, 78, 230);
/* oklch */ color: oklch(55.4% 0.217 289.5);
Tailwind
colors: {
  custom: {
    50: '#a682ef',
    500: '#764ee6',
    950: '#000000',
  },
}
SCSS
$custom: #764ee6;
$custom-light: #a682ef;
$custom-dark: #000000;
JSON
{
  "hex": "#764ee6",
  "rgb": {
    "r": 118,
    "g": 78,
    "b": 230
  },
  "hsl": {
    "h": 255.789,
    "s": 75.248,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55415,
    "c": 0.21729,
    "h": 289.5
  },
  "luminance": 0.15014
}

Semantic roles & 50–950 ramp

primary
#764EE6
secondary
#D6E5AB
accent
#D70EA2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #764EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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