#764CCA#764CCA

#764CCA is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.0% C 0.186 H 294.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#764CCA
RGBrgb(118, 76, 202)
HSLhsl(260, 54%, 55%)
HSVhsv(260, 62%, 79%)
CMYKcmyk(41.6%, 62.4%, 0%, 20.8%)
CIE-LABlab(43.19, 45.77, -59.46)
CIE-LCHlch(43.19, 75.03, 307.59°)
OKLaboklab(52.99% 0.0774 -0.1696)
OKLCHoklch(52.99% 0.186 294.5)
XYZxyz(20.7135, 13.2842, 57.3384)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CCA #A0CA4C
analogous
#4C61CA #764CCA #B54CCA
triadic
#764CCA #CA764C #4CCA76
tetradic
#764CCA #CA4C61 #A0CA4C #4CCAB5
square
#764CCA #CA4C61 #A0CA4C #4CCAB5
split-complementary
#764CCA #CAB54C #61CA4C
monochromatic
#402478 #5932A7 #764CCA #9A7BD8 #BEAAE6

Accessibility & contrast

On white

5.74
#764CCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#764CCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CCA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CCA#FFFFFF#000000##FFFFFF
##764CCA1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#606984
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #764cca;
/* rgb */ color: rgb(118, 76, 202);
/* oklch */ color: oklch(53.0% 0.186 294.5);
Tailwind
colors: {
  custom: {
    50: '#a380db',
    500: '#764cca',
    950: '#000000',
  },
}
SCSS
$custom: #764cca;
$custom-light: #a380db;
$custom-dark: #000000;
JSON
{
  "hex": "#764cca",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 202
  },
  "hsl": {
    "h": 260,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52987,
    "c": 0.1864,
    "h": 294.5
  },
  "luminance": 0.13285
}

Semantic roles & 50–950 ramp

primary
#764CCA
secondary
#C2D49E
accent
#DE4AAC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #764CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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