#764FD7#764FD7

#764FD7 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.4% C 0.198 H 291.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#764FD7
RGBrgb(118, 79, 215)
HSLhsl(257, 63%, 58%)
HSVhsv(257, 63%, 84%)
CMYKcmyk(45.1%, 63.3%, 0%, 15.7%)
CIE-LABlab(44.73, 47.67, -64.44)
CIE-LCHlch(44.73, 80.15, 306.50°)
OKLaboklab(54.4% 0.0731 -0.1842)
OKLCHoklch(54.4% 0.198 291.6)
XYZxyz(22.5295, 14.3491, 65.8594)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764FD7 #B0D74F
analogous
#4F6CD7 #764FD7 #BA4FD7
triadic
#764FD7 #D7764F #4FD776
tetradic
#764FD7 #D74F6C #B0D74F #4FD7BA
square
#764FD7 #D74F6C #B0D74F #4FD7BA
split-complementary
#764FD7 #D7BA4F #6CD74F
monochromatic
#3F208C #552BBE #764FD7 #9D81E2 #C4B3EE

Accessibility & contrast

On white

5.43
#764FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#764FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764FD7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764FD7#FFFFFF#000000##FFFFFF
##764FD71.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#0067D4
Tritanopia (blue-blind)
#596F8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #764fd7;
/* rgb */ color: rgb(118, 79, 215);
/* oklch */ color: oklch(54.4% 0.198 291.6);
Tailwind
colors: {
  custom: {
    50: '#a582e4',
    500: '#764fd7',
    950: '#000000',
  },
}
SCSS
$custom: #764fd7;
$custom-light: #a582e4;
$custom-dark: #000000;
JSON
{
  "hex": "#764fd7",
  "rgb": {
    "r": 118,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 257.206,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54398,
    "c": 0.19818,
    "h": 291.6
  },
  "luminance": 0.1435
}

Semantic roles & 50–950 ramp

primary
#764FD7
secondary
#CDDCA6
accent
#E642B7
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #764FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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