#764CD5#764CD5

#764CD5 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.8% C 0.200 H 292.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#764CD5
RGBrgb(118, 76, 213)
HSLhsl(258, 62%, 57%)
HSVhsv(258, 64%, 84%)
CMYKcmyk(44.6%, 64.3%, 0%, 16.5%)
CIE-LABlab(43.98, 48.76, -64.51)
CIE-LCHlch(43.98, 80.86, 307.08°)
OKLaboklab(53.81% 0.0764 -0.1844)
OKLCHoklch(53.81% 0.2 292.5)
XYZxyz(22.0626, 13.8238, 64.4437)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CD5 #ABD54C
analogous
#4C67D5 #764CD5 #BB4CD5
triadic
#764CD5 #D5764C #4CD576
tetradic
#764CD5 #D54C67 #ABD54C #4CD5BB
square
#764CD5 #D54C67 #ABD54C #4CD5BB
split-complementary
#764CD5 #D5BB4C #67D54C
monochromatic
#3F2087 #572BB9 #764CD5 #9C7EE1 #C2AFEC

Accessibility & contrast

On white

5.58
#764CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#764CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CD5
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CD5#FFFFFF#000000##FFFFFF
##764CD51.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#0065D2
Tritanopia (blue-blind)
#5A6C8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #764cd5;
/* rgb */ color: rgb(118, 76, 213);
/* oklch */ color: oklch(53.8% 0.200 292.5);
Tailwind
colors: {
  custom: {
    50: '#a480e3',
    500: '#764cd5',
    950: '#000000',
  },
}
SCSS
$custom: #764cd5;
$custom-light: #a480e3;
$custom-dark: #000000;
JSON
{
  "hex": "#764cd5",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 258.394,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53809,
    "c": 0.19963,
    "h": 292.5
  },
  "luminance": 0.13825
}

Semantic roles & 50–950 ramp

primary
#764CD5
secondary
#C9DAA2
accent
#E543B3
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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