#764EEF#764EEF

#764EEF is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.1% C 0.228 H 288.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#764EEF
RGBrgb(118, 78, 239)
HSLhsl(255, 83%, 62%)
HSVhsv(255, 67%, 94%)
CMYKcmyk(50.6%, 67.4%, 0%, 6.3%)
CIE-LABlab(46.35, 54.86, -75.40)
CIE-LCHlch(46.35, 93.24, 306.04°)
OKLaboklab(56.14% 0.0711 -0.2164)
OKLCHoklch(56.14% 0.228 288.2)
XYZxyz(25.7710, 15.5311, 83.2845)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764EEF #C7EF4E
analogous
#4E76EF #764EEF #C74EEF
triadic
#764EEF #EF764E #4EEF76
tetradic
#764EEF #EF4E76 #C7EF4E #4EEFC7
square
#764EEF #EF4E76 #C7EF4E #4EEFC7
split-complementary
#764EEF #EFC74E #76EF4E
monochromatic
#3810B2 #4B16EA #764EEF #A186F4 #CDBEF9

Accessibility & contrast

On white

5.11
#764EEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#764EEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764EEF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764EEF#FFFFFF#000000##FFFFFF
##764EEF1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F4
Deuteranopia (green-blind)
#006AEC
Tritanopia (blue-blind)
#497798
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #764eef;
/* rgb */ color: rgb(118, 78, 239);
/* oklch */ color: oklch(56.1% 0.228 288.2);
Tailwind
colors: {
  custom: {
    50: '#a782f5',
    500: '#764eef',
    950: '#000000',
  },
}
SCSS
$custom: #764eef;
$custom-light: #a782f5;
$custom-dark: #000000;
JSON
{
  "hex": "#764eef",
  "rgb": {
    "r": 118,
    "g": 78,
    "b": 239
  },
  "hsl": {
    "h": 254.907,
    "s": 83.42,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56137,
    "c": 0.22781,
    "h": 288.2
  },
  "luminance": 0.15532
}

Semantic roles & 50–950 ramp

primary
#764EEF
secondary
#DBEAAF
accent
#E006AA
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #764EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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