#764CC4#764CC4

#764CC4 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.6% C 0.179 H 295.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#764CC4
RGBrgb(118, 76, 196)
HSLhsl(261, 50%, 53%)
HSVhsv(261, 61%, 77%)
CMYKcmyk(39.8%, 61.2%, 0%, 23.1%)
CIE-LABlab(42.77, 44.15, -56.66)
CIE-LCHlch(42.77, 71.83, 307.93°)
OKLaboklab(52.55% 0.0778 -0.1613)
OKLCHoklch(52.55% 0.179 295.7)
XYZxyz(20.0169, 13.0056, 53.6696)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CC4 #9AC44C
analogous
#4C5EC4 #764CC4 #B24CC4
triadic
#764CC4 #C4764C #4CC476
tetradic
#764CC4 #C44C5E #9AC44C #4CC4B2
square
#764CC4 #C44C5E #9AC44C #4CC4B2
split-complementary
#764CC4 #C4B24C #5EC44C
monochromatic
#3F2571 #59349F #764CC4 #997AD3 #BCA8E2

Accessibility & contrast

On white

5.83
#764CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#764CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CC4
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CC4#FFFFFF#000000##FFFFFF
##764CC41.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#0A63C1
Tritanopia (blue-blind)
#626781
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #764cc4;
/* rgb */ color: rgb(118, 76, 196);
/* oklch */ color: oklch(52.6% 0.179 295.7);
Tailwind
colors: {
  custom: {
    50: '#a380d7',
    500: '#764cc4',
    950: '#000000',
  },
}
SCSS
$custom: #764cc4;
$custom-light: #a380d7;
$custom-dark: #000000;
JSON
{
  "hex": "#764cc4",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 196
  },
  "hsl": {
    "h": 261,
    "s": 50.42,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52551,
    "c": 0.1791,
    "h": 295.7
  },
  "luminance": 0.13006
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #764CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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