#764CD4#764CD4

#764CD4 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.7% C 0.198 H 292.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#764CD4
RGBrgb(118, 76, 212)
HSLhsl(259, 61%, 56%)
HSVhsv(259, 64%, 83%)
CMYKcmyk(44.3%, 64.2%, 0%, 16.9%)
CIE-LABlab(43.91, 48.48, -64.05)
CIE-LCHlch(43.91, 80.33, 307.12°)
OKLaboklab(53.73% 0.0765 -0.1831)
OKLCHoklch(53.73% 0.198 292.7)
XYZxyz(21.9361, 13.7732, 63.7773)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CD4 #AAD44C
analogous
#4C66D4 #764CD4 #BA4CD4
triadic
#764CD4 #D4764C #4CD476
tetradic
#764CD4 #D44C66 #AAD44C #4CD4BA
square
#764CD4 #D44C66 #AAD44C #4CD4BA
split-complementary
#764CD4 #D4BA4C #66D44C
monochromatic
#3F2086 #572CB7 #764CD4 #9C7DE0 #C2AFEC

Accessibility & contrast

On white

5.59
#764CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#764CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CD4
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CD4#FFFFFF#000000##FFFFFF
##764CD41.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD8
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#5B6C89
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #764cd4;
/* rgb */ color: rgb(118, 76, 212);
/* oklch */ color: oklch(53.7% 0.198 292.7);
Tailwind
colors: {
  custom: {
    50: '#a480e2',
    500: '#764cd4',
    950: '#000000',
  },
}
SCSS
$custom: #764cd4;
$custom-light: #a480e2;
$custom-dark: #000000;
JSON
{
  "hex": "#764cd4",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 258.529,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53733,
    "c": 0.19843,
    "h": 292.7
  },
  "luminance": 0.13774
}

Semantic roles & 50–950 ramp

primary
#764CD4
secondary
#C9DAA2
accent
#E443B3
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #764CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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