#764FF7#764FF7

#764FF7 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.9% C 0.236 H 287.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#764FF7
RGBrgb(118, 79, 247)
HSLhsl(254, 91%, 64%)
HSVhsv(254, 68%, 97%)
CMYKcmyk(52.2%, 68%, 0%, 3.1%)
CIE-LABlab(47.18, 56.56, -78.54)
CIE-LCHlch(47.18, 96.78, 305.76°)
OKLaboklab(56.93% 0.0689 -0.2256)
OKLCHoklch(56.93% 0.236 287)
XYZxyz(27.0507, 16.1575, 89.6710)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764FF7 #D0F74F
analogous
#4F7CF7 #764FF7 #CA4FF7
triadic
#764FF7 #F7764F #4FF776
tetradic
#764FF7 #F74F7C #D0F74F #4FF7CA
square
#764FF7 #F74F7C #D0F74F #4FF7CA
split-complementary
#764FF7 #F7CA4F #7CF74F
monochromatic
#3409C3 #4814F4 #764FF7 #A48AFA #D1C4FC

Accessibility & contrast

On white

4.96
#764FF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#764FF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764FF7
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764FF7#FFFFFF#000000##FFFFFF
##764FF71.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074FC
Deuteranopia (green-blind)
#006BF4
Tritanopia (blue-blind)
#427A9D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #764ff7;
/* rgb */ color: rgb(118, 79, 247);
/* oklch */ color: oklch(56.9% 0.236 287.0);
Tailwind
colors: {
  custom: {
    50: '#a883fb',
    500: '#764ff7',
    950: '#000000',
  },
}
SCSS
$custom: #764ff7;
$custom-light: #a883fb;
$custom-dark: #000000;
JSON
{
  "hex": "#764ff7",
  "rgb": {
    "r": 118,
    "g": 79,
    "b": 247
  },
  "hsl": {
    "h": 253.929,
    "s": 91.304,
    "l": 63.922
  },
  "oklch": {
    "l": 0.56927,
    "c": 0.23594,
    "h": 287
  },
  "luminance": 0.16159
}

Semantic roles & 50–950 ramp

primary
#764FF7
secondary
#E1EEB3
accent
#E600B0
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #764FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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