#764EFF#764EFF

#764EFF is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.5% C 0.246 H 286.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#764EFF
RGBrgb(118, 78, 255)
HSLhsl(254, 100%, 65%)
HSVhsv(254, 69%, 100%)
CMYKcmyk(53.7%, 69.4%, 0%, 0%)
CIE-LABlab(47.65, 59.30, -82.23)
CIE-LCHlch(47.65, 101.38, 305.79°)
OKLaboklab(57.46% 0.0684 -0.2365)
OKLCHoklch(57.46% 0.246 286.1)
XYZxyz(28.2402, 16.5188, 96.2887)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764EFF #D7FF4E
analogous
#4E7FFF #764EFF #CE4EFF
triadic
#764EFF #FF764E #4EFF76
tetradic
#764EFF #FF4E7F #D7FF4E #4EFFCE
square
#764EFF #FF4E7F #D7FF4E #4EFFCE
split-complementary
#764EFF #FFCE4E #7FFF4E
monochromatic
#3000D3 #4711FF #764EFF #A58BFF #D5C8FF

Accessibility & contrast

On white

4.88
#764EFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#764EFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764EFF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764EFF#FFFFFF#000000##FFFFFF
##764EFF1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#006CFC
Tritanopia (blue-blind)
#3A7DA1
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #764eff;
/* rgb */ color: rgb(118, 78, 255);
/* oklch */ color: oklch(57.5% 0.246 286.1);
Tailwind
colors: {
  custom: {
    50: '#aa83ff',
    500: '#764eff',
    950: '#000000',
  },
}
SCSS
$custom: #764eff;
$custom-light: #aa83ff;
$custom-dark: #000000;
JSON
{
  "hex": "#764eff",
  "rgb": {
    "r": 118,
    "g": 78,
    "b": 255
  },
  "hsl": {
    "h": 253.559,
    "s": 100,
    "l": 65.294
  },
  "oklch": {
    "l": 0.57462,
    "c": 0.24617,
    "h": 286.1
  },
  "luminance": 0.1652
}

Semantic roles & 50–950 ramp

primary
#764EFF
secondary
#E5F2B7
accent
#E600B2
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #764EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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