#764DD7#764DD7

#764DD7 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.1% C 0.201 H 292.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#764DD7
RGBrgb(118, 77, 215)
HSLhsl(258, 63%, 57%)
HSVhsv(258, 64%, 84%)
CMYKcmyk(45.1%, 64.2%, 0%, 15.7%)
CIE-LABlab(44.33, 48.76, -65.09)
CIE-LCHlch(44.33, 81.33, 306.84°)
OKLaboklab(54.11% 0.0752 -0.1861)
OKLCHoklch(54.11% 0.201 292)
XYZxyz(22.3874, 14.0649, 65.8120)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764DD7 #AED74D
analogous
#4D69D7 #764DD7 #BB4DD7
triadic
#764DD7 #D7764D #4DD776
tetradic
#764DD7 #D74D69 #AED74D #4DD7BB
square
#764DD7 #D74D69 #AED74D #4DD7BB
split-complementary
#764DD7 #D7BB4D #69D74D
monochromatic
#3F1F8A #562ABC #764DD7 #9C7FE2 #C3B1ED

Accessibility & contrast

On white

5.51
#764DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#764DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764DD7
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764DD7#FFFFFF#000000##FFFFFF
##764DD71.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#0066D4
Tritanopia (blue-blind)
#596E8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #764dd7;
/* rgb */ color: rgb(118, 77, 215);
/* oklch */ color: oklch(54.1% 0.201 292.0);
Tailwind
colors: {
  custom: {
    50: '#a581e4',
    500: '#764dd7',
    950: '#000000',
  },
}
SCSS
$custom: #764dd7;
$custom-light: #a581e4;
$custom-dark: #000000;
JSON
{
  "hex": "#764dd7",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 257.826,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54106,
    "c": 0.20074,
    "h": 292
  },
  "luminance": 0.14066
}

Semantic roles & 50–950 ramp

primary
#764DD7
secondary
#CBDCA4
accent
#E641B5
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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