#764DC4#764DC4

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

Color values

HEX#764DC4
RGBrgb(118, 77, 196)
HSLhsl(261, 50%, 54%)
HSVhsv(261, 61%, 77%)
CMYKcmyk(39.8%, 60.7%, 0%, 23.1%)
CIE-LABlab(42.98, 43.60, -56.32)
CIE-LCHlch(42.98, 71.22, 307.74°)
OKLaboklab(52.7% 0.0766 -0.1603)
OKLCHoklch(52.7% 0.178 295.5)
XYZxyz(20.0863, 13.1444, 53.6927)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764DC4 #9BC44D
analogous
#4D5FC4 #764DC4 #B14DC4
triadic
#764DC4 #C4764D #4DC476
tetradic
#764DC4 #C44D5F #9BC44D #4DC4B1
square
#764DC4 #C44D5F #9BC44D #4DC4B1
split-complementary
#764DC4 #C4B14D #5FC44D
monochromatic
#402571 #59359F #764DC4 #997BD3 #BDA9E2

Accessibility & contrast

On white

5.79
#764DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #764DC4
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764DC4#FFFFFF#000000##FFFFFF
##764DC41.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #764dc4;
/* rgb */ color: rgb(118, 77, 196);
/* oklch */ color: oklch(52.7% 0.178 295.5);
Tailwind
colors: {
  custom: {
    50: '#a381d7',
    500: '#764dc4',
    950: '#000000',
  },
}
SCSS
$custom: #764dc4;
$custom-light: #a381d7;
$custom-dark: #000000;
JSON
{
  "hex": "#764dc4",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 196
  },
  "hsl": {
    "h": 260.672,
    "s": 50.211,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52703,
    "c": 0.17771,
    "h": 295.5
  },
  "luminance": 0.13145
}

Semantic roles & 50–950 ramp

primary
#764DC4
secondary
#BED09D
accent
#DA4EAA
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #764DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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