#764EF7#764EF7

#764EF7 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.8% C 0.237 H 287.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#764EF7
RGBrgb(118, 78, 247)
HSLhsl(254, 91%, 64%)
HSVhsv(254, 68%, 97%)
CMYKcmyk(52.2%, 68.4%, 0%, 3.1%)
CIE-LABlab(46.99, 57.08, -78.84)
CIE-LCHlch(46.99, 97.33, 305.90°)
OKLaboklab(56.79% 0.0698 -0.2265)
OKLCHoklch(56.79% 0.237 287.1)
XYZxyz(26.9791, 16.0144, 89.6471)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764EF7 #CFF74E
analogous
#4E7AF7 #764EF7 #CA4EF7
triadic
#764EF7 #F7764E #4EF776
tetradic
#764EF7 #F74E7A #CFF74E #4EF7CA
square
#764EF7 #F74E7A #CFF74E #4EF7CA
split-complementary
#764EF7 #F7CA4E #7AF74E
monochromatic
#3509C2 #4913F4 #764EF7 #A389FA #D1C3FC

Accessibility & contrast

On white

5.00
#764EF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#764EF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764EF7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764EF7#FFFFFF#000000##FFFFFF
##764EF71.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073FC
Deuteranopia (green-blind)
#006BF4
Tritanopia (blue-blind)
#437A9D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #764ef7;
/* rgb */ color: rgb(118, 78, 247);
/* oklch */ color: oklch(56.8% 0.237 287.1);
Tailwind
colors: {
  custom: {
    50: '#a983fb',
    500: '#764ef7',
    950: '#000000',
  },
}
SCSS
$custom: #764ef7;
$custom-light: #a983fb;
$custom-dark: #000000;
JSON
{
  "hex": "#764ef7",
  "rgb": {
    "r": 118,
    "g": 78,
    "b": 247
  },
  "hsl": {
    "h": 254.201,
    "s": 91.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56793,
    "c": 0.23704,
    "h": 287.1
  },
  "luminance": 0.16016
}

Semantic roles & 50–950 ramp

primary
#764EF7
secondary
#E0EEB3
accent
#E600AF
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #764EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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