#764EC4#764EC4

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

Color values

HEX#764EC4
RGBrgb(118, 78, 196)
HSLhsl(260, 50%, 54%)
HSVhsv(260, 60%, 77%)
CMYKcmyk(39.8%, 60.2%, 0%, 23.1%)
CIE-LABlab(43.19, 43.04, -55.98)
CIE-LCHlch(43.19, 70.61, 307.55°)
OKLaboklab(52.86% 0.0754 -0.1593)
OKLCHoklch(52.86% 0.176 295.3)
XYZxyz(20.1568, 13.2854, 53.7162)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764EC4 #9CC44E
analogous
#4E61C4 #764EC4 #B14EC4
triadic
#764EC4 #C4764E #4EC476
tetradic
#764EC4 #C44E61 #9CC44E #4EC4B1
square
#764EC4 #C44E61 #9CC44E #4EC4B1
split-complementary
#764EC4 #C4B14E #61C44E
monochromatic
#402672 #5935A0 #764EC4 #9A7CD3 #BDAAE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##764EC4#FFFFFF#000000##FFFFFF
##764EC41.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)
#0067C8
Deuteranopia (green-blind)
#1264C1
Tritanopia (blue-blind)
#626881
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #764ec4;
/* rgb */ color: rgb(118, 78, 196);
/* oklch */ color: oklch(52.9% 0.176 295.3);
Tailwind
colors: {
  custom: {
    50: '#a381d7',
    500: '#764ec4',
    950: '#000000',
  },
}
SCSS
$custom: #764ec4;
$custom-light: #a381d7;
$custom-dark: #000000;
JSON
{
  "hex": "#764ec4",
  "rgb": {
    "r": 118,
    "g": 78,
    "b": 196
  },
  "hsl": {
    "h": 260.339,
    "s": 50,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52857,
    "c": 0.17631,
    "h": 295.3
  },
  "luminance": 0.13286
}

Semantic roles & 50–950 ramp

primary
#764EC4
secondary
#BFD09E
accent
#DA4EAA
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #764EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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