#764ACD#764ACD

#764ACD is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.9% C 0.193 H 294.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#764ACD
RGBrgb(118, 74, 205)
HSLhsl(260, 57%, 55%)
HSVhsv(260, 64%, 80%)
CMYKcmyk(42.4%, 63.9%, 0%, 19.6%)
CIE-LABlab(43.00, 47.66, -61.50)
CIE-LCHlch(43.00, 77.81, 307.78°)
OKLaboklab(52.92% 0.0793 -0.1756)
OKLCHoklch(52.92% 0.193 294.3)
XYZxyz(20.9365, 13.1564, 59.1821)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764ACD #A1CD4A
analogous
#4A5FCD #764ACD #B84ACD
triadic
#764ACD #CD764A #4ACD76
tetradic
#764ACD #CD4A5F #A1CD4A #4ACDB8
square
#764ACD #CD4A5F #A1CD4A #4ACDB8
split-complementary
#764ACD #CDB84A #5FCD4A
monochromatic
#40227B #592FAB #764ACD #9A7ADA #BFAAE7

Accessibility & contrast

On white

5.78
#764ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#764ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764ACD
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764ACD#FFFFFF#000000##FFFFFF
##764ACD1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#5E6885
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #764acd;
/* rgb */ color: rgb(118, 74, 205);
/* oklch */ color: oklch(52.9% 0.193 294.3);
Tailwind
colors: {
  custom: {
    50: '#a47fdd',
    500: '#764acd',
    950: '#000000',
  },
}
SCSS
$custom: #764acd;
$custom-light: #a47fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#764acd",
  "rgb": {
    "r": 118,
    "g": 74,
    "b": 205
  },
  "hsl": {
    "h": 260.153,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52916,
    "c": 0.19267,
    "h": 294.3
  },
  "luminance": 0.13157
}

Semantic roles & 50–950 ramp

primary
#764ACD
secondary
#C2D59E
accent
#E048AD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #764ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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