#764EE2#764EE2

#764EE2 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.1% C 0.213 H 290.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#764EE2
RGBrgb(118, 78, 226)
HSLhsl(256, 72%, 60%)
HSVhsv(256, 65%, 89%)
CMYKcmyk(47.8%, 65.5%, 0%, 11.4%)
CIE-LABlab(45.35, 51.25, -69.70)
CIE-LCHlch(45.35, 86.52, 306.33°)
OKLaboklab(55.1% 0.0729 -0.1997)
OKLCHoklch(55.1% 0.213 290)
XYZxyz(23.9192, 14.7904, 73.5313)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764EE2 #BAE24E
analogous
#4E70E2 #764EE2 #C04EE2
triadic
#764EE2 #E2764E #4EE276
tetradic
#764EE2 #E24E70 #BAE24E #4EE2C0
square
#764EE2 #E24E70 #BAE24E #4EE2C0
split-complementary
#764EE2 #E2C04E #70E24E
monochromatic
#3D1A9C #5122D1 #764EE2 #9F83EB #C7B7F3

Accessibility & contrast

On white

5.31
#764EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#764EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764EE2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764EE2#FFFFFF#000000##FFFFFF
##764EE21.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0068DF
Tritanopia (blue-blind)
#537291
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #764ee2;
/* rgb */ color: rgb(118, 78, 226);
/* oklch */ color: oklch(55.1% 0.213 290.0);
Tailwind
colors: {
  custom: {
    50: '#a682ec',
    500: '#764ee2',
    950: '#000000',
  },
}
SCSS
$custom: #764ee2;
$custom-light: #a682ec;
$custom-dark: #000000;
JSON
{
  "hex": "#764ee2",
  "rgb": {
    "r": 118,
    "g": 78,
    "b": 226
  },
  "hsl": {
    "h": 256.216,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55099,
    "c": 0.21258,
    "h": 290
  },
  "luminance": 0.14791
}

Semantic roles & 50–950 ramp

primary
#764EE2
secondary
#D3E3A9
accent
#EF39BE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #764EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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