#764EE4#764EE4

#764EE4 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.3% C 0.215 H 289.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#764EE4
RGBrgb(118, 78, 228)
HSLhsl(256, 74%, 60%)
HSVhsv(256, 66%, 89%)
CMYKcmyk(48.2%, 65.8%, 0%, 10.6%)
CIE-LABlab(45.50, 51.81, -70.59)
CIE-LCHlch(45.50, 87.56, 306.28°)
OKLaboklab(55.26% 0.0726 -0.2023)
OKLCHoklch(55.26% 0.215 289.7)
XYZxyz(24.1952, 14.9008, 74.9850)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764EE4 #BCE44E
analogous
#4E71E4 #764EE4 #C14EE4
triadic
#764EE4 #E4764E #4EE476
tetradic
#764EE4 #E44E71 #BCE44E #4EE4C1
square
#764EE4 #E44E71 #BCE44E #4EE4C1
split-complementary
#764EE4 #E4C14E #71E44E
monochromatic
#3C189F #5020D4 #764EE4 #9F83EC #C8B8F4

Accessibility & contrast

On white

5.28
#764EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#764EE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764EE4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764EE4#FFFFFF#000000##FFFFFF
##764EE41.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE9
Deuteranopia (green-blind)
#0068E1
Tritanopia (blue-blind)
#517392
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #764ee4;
/* rgb */ color: rgb(118, 78, 228);
/* oklch */ color: oklch(55.3% 0.215 289.7);
Tailwind
colors: {
  custom: {
    50: '#a682ee',
    500: '#764ee4',
    950: '#000000',
  },
}
SCSS
$custom: #764ee4;
$custom-light: #a682ee;
$custom-dark: #000000;
JSON
{
  "hex": "#764ee4",
  "rgb": {
    "r": 118,
    "g": 78,
    "b": 228
  },
  "hsl": {
    "h": 256,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.55257,
    "c": 0.21494,
    "h": 289.7
  },
  "luminance": 0.14902
}

Semantic roles & 50–950 ramp

primary
#764EE4
secondary
#D4E4AA
accent
#F038BF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #764EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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