#764CC5#764CC5

#764CC5 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.6% C 0.180 H 295.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#764CC5
RGBrgb(118, 76, 197)
HSLhsl(261, 51%, 54%)
HSVhsv(261, 61%, 77%)
CMYKcmyk(40.1%, 61.4%, 0%, 22.7%)
CIE-LABlab(42.84, 44.42, -57.13)
CIE-LCHlch(42.84, 72.36, 307.87°)
OKLaboklab(52.62% 0.0777 -0.1627)
OKLCHoklch(52.62% 0.18 295.5)
XYZxyz(20.1311, 13.0512, 54.2710)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CC5 #9BC54C
analogous
#4C5EC5 #764CC5 #B24CC5
triadic
#764CC5 #C5764C #4CC576
tetradic
#764CC5 #C54C5E #9BC54C #4CC5B2
square
#764CC5 #C54C5E #9BC54C #4CC5B2
split-complementary
#764CC5 #C5B24C #5EC54C
monochromatic
#402572 #5934A0 #764CC5 #997AD4 #BDA8E3

Accessibility & contrast

On white

5.82
#764CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#764CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CC5
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CC5#FFFFFF#000000##FFFFFF
##764CC51.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#0563C2
Tritanopia (blue-blind)
#626781
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #764cc5;
/* rgb */ color: rgb(118, 76, 197);
/* oklch */ color: oklch(52.6% 0.180 295.5);
Tailwind
colors: {
  custom: {
    50: '#a380d7',
    500: '#764cc5',
    950: '#000000',
  },
}
SCSS
$custom: #764cc5;
$custom-light: #a380d7;
$custom-dark: #000000;
JSON
{
  "hex": "#764cc5",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 197
  },
  "hsl": {
    "h": 260.826,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52623,
    "c": 0.18032,
    "h": 295.5
  },
  "luminance": 0.13052
}

Semantic roles & 50–950 ramp

primary
#764CC5
secondary
#BED09C
accent
#DB4DA9
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #764CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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