#764CD6#764CD6

#764CD6 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 53.9% C 0.201 H 292.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#764CD6
RGBrgb(118, 76, 214)
HSLhsl(258, 63%, 57%)
HSVhsv(258, 64%, 84%)
CMYKcmyk(44.9%, 64.5%, 0%, 16.1%)
CIE-LABlab(44.05, 49.03, -64.96)
CIE-LCHlch(44.05, 81.39, 307.04°)
OKLaboklab(53.89% 0.0763 -0.1858)
OKLCHoklch(53.89% 0.201 292.3)
XYZxyz(22.1899, 13.8748, 65.1142)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CD6 #ACD64C
analogous
#4C67D6 #764CD6 #BB4CD6
triadic
#764CD6 #D6764C #4CD676
tetradic
#764CD6 #D64C67 #ACD64C #4CD6BB
square
#764CD6 #D64C67 #ACD64C #4CD6BB
split-complementary
#764CD6 #D6BB4C #67D64C
monochromatic
#3F1F88 #562BBA #764CD6 #9C7EE1 #C2B0ED

Accessibility & contrast

On white

5.56
#764CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#764CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CD6
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CD6#FFFFFF#000000##FFFFFF
##764CD61.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADA
Deuteranopia (green-blind)
#0065D3
Tritanopia (blue-blind)
#5A6D8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #764cd6;
/* rgb */ color: rgb(118, 76, 214);
/* oklch */ color: oklch(53.9% 0.201 292.3);
Tailwind
colors: {
  custom: {
    50: '#a580e4',
    500: '#764cd6',
    950: '#000000',
  },
}
SCSS
$custom: #764cd6;
$custom-light: #a580e4;
$custom-dark: #000000;
JSON
{
  "hex": "#764cd6",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 214
  },
  "hsl": {
    "h": 258.261,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53885,
    "c": 0.20082,
    "h": 292.3
  },
  "luminance": 0.13875
}

Semantic roles & 50–950 ramp

primary
#764CD6
secondary
#CADBA3
accent
#E642B4
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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