#764EE8#764EE8

#764EE8 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.6% C 0.220 H 289.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#764EE8
RGBrgb(118, 78, 232)
HSLhsl(256, 77%, 61%)
HSVhsv(256, 66%, 91%)
CMYKcmyk(49.1%, 66.4%, 0%, 9%)
CIE-LABlab(45.81, 52.91, -72.35)
CIE-LCHlch(45.81, 89.63, 306.18°)
OKLaboklab(55.57% 0.0721 -0.2075)
OKLCHoklch(55.57% 0.22 289.2)
XYZxyz(24.7569, 15.1255, 77.9433)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764EE8 #C0E84E
analogous
#4E73E8 #764EE8 #C34EE8
triadic
#764EE8 #E8764E #4EE876
tetradic
#764EE8 #E84E73 #C0E84E #4EE8C3
square
#764EE8 #E84E73 #C0E84E #4EE8C3
split-complementary
#764EE8 #E8C34E #73E84E
monochromatic
#3B16A6 #4E1DDC #764EE8 #A084EF #CABAF6

Accessibility & contrast

On white

5.22
#764EE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#764EE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764EE8
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764EE8#FFFFFF#000000##FFFFFF
##764EE81.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070ED
Deuteranopia (green-blind)
#0069E5
Tritanopia (blue-blind)
#4F7495
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #764ee8;
/* rgb */ color: rgb(118, 78, 232);
/* oklch */ color: oklch(55.6% 0.220 289.2);
Tailwind
colors: {
  custom: {
    50: '#a782f0',
    500: '#764ee8',
    950: '#000000',
  },
}
SCSS
$custom: #764ee8;
$custom-light: #a782f0;
$custom-dark: #000000;
JSON
{
  "hex": "#764ee8",
  "rgb": {
    "r": 118,
    "g": 78,
    "b": 232
  },
  "hsl": {
    "h": 255.584,
    "s": 77,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55574,
    "c": 0.21965,
    "h": 289.2
  },
  "luminance": 0.15127
}

Semantic roles & 50–950 ramp

primary
#764EE8
secondary
#D7E6AC
accent
#D90CA4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #764EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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