#764FE7#764FE7

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

Color values

HEX#764FE7
RGBrgb(118, 79, 231)
HSLhsl(255, 76%, 61%)
HSVhsv(255, 66%, 91%)
CMYKcmyk(48.9%, 65.8%, 0%, 9.4%)
CIE-LABlab(45.92, 52.11, -71.59)
CIE-LCHlch(45.92, 88.55, 306.05°)
OKLaboklab(55.63% 0.0713 -0.2053)
OKLCHoklch(55.63% 0.217 289.2)
XYZxyz(24.6868, 15.2120, 77.2213)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764FE7 #C0E74F
analogous
#4F74E7 #764FE7 #C24FE7
triadic
#764FE7 #E7764F #4FE776
tetradic
#764FE7 #E74F74 #C0E74F #4FE7C2
square
#764FE7 #E74F74 #C0E74F #4FE7C2
split-complementary
#764FE7 #E7C24F #74E74F
monochromatic
#3B17A5 #4E1EDB #764FE7 #A085EE #CABBF6

Accessibility & contrast

On white

5.19
#764FE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#764FE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764FE7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764FE7#FFFFFF#000000##FFFFFF
##764FE71.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EC
Deuteranopia (green-blind)
#0069E4
Tritanopia (blue-blind)
#4F7594
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #764fe7;
/* rgb */ color: rgb(118, 79, 231);
/* oklch */ color: oklch(55.6% 0.217 289.2);
Tailwind
colors: {
  custom: {
    50: '#a683f0',
    500: '#764fe7',
    950: '#000000',
  },
}
SCSS
$custom: #764fe7;
$custom-light: #a683f0;
$custom-dark: #000000;
JSON
{
  "hex": "#764fe7",
  "rgb": {
    "r": 118,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 255.395,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55634,
    "c": 0.21728,
    "h": 289.2
  },
  "luminance": 0.15213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #764FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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