#764DC5#764DC5

#764DC5 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.8% C 0.179 H 295.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#764DC5
RGBrgb(118, 77, 197)
HSLhsl(261, 51%, 54%)
HSVhsv(261, 61%, 77%)
CMYKcmyk(40.1%, 60.9%, 0%, 22.7%)
CIE-LABlab(43.05, 43.87, -56.79)
CIE-LCHlch(43.05, 71.76, 307.68°)
OKLaboklab(52.78% 0.0766 -0.1617)
OKLCHoklch(52.78% 0.179 295.3)
XYZxyz(20.2005, 13.1901, 54.2941)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764DC5 #9CC54D
analogous
#4D60C5 #764DC5 #B24DC5
triadic
#764DC5 #C5764D #4DC576
tetradic
#764DC5 #C54D60 #9CC54D #4DC5B2
square
#764DC5 #C54D60 #9CC54D #4DC5B2
split-complementary
#764DC5 #C5B24D #60C54D
monochromatic
#402572 #5934A0 #764DC5 #9A7BD4 #BDA9E3

Accessibility & contrast

On white

5.77
#764DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#764DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764DC5
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764DC5#FFFFFF#000000##FFFFFF
##764DC51.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C9
Deuteranopia (green-blind)
#0A64C2
Tritanopia (blue-blind)
#626882
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #764dc5;
/* rgb */ color: rgb(118, 77, 197);
/* oklch */ color: oklch(52.8% 0.179 295.3);
Tailwind
colors: {
  custom: {
    50: '#a381d7',
    500: '#764dc5',
    950: '#000000',
  },
}
SCSS
$custom: #764dc5;
$custom-light: #a381d7;
$custom-dark: #000000;
JSON
{
  "hex": "#764dc5",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 197
  },
  "hsl": {
    "h": 260.5,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52775,
    "c": 0.17893,
    "h": 295.3
  },
  "luminance": 0.13191
}

Semantic roles & 50–950 ramp

primary
#764DC5
secondary
#BFD19D
accent
#DA4DAA
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #764DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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