#764CA5#764CA5

#764CA5 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.5% C 0.141 H 303.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#764CA5
RGBrgb(118, 76, 165)
HSLhsl(268, 37%, 47%)
HSVhsv(268, 54%, 65%)
CMYKcmyk(28.5%, 53.9%, 0%, 35.3%)
CIE-LABlab(40.80, 36.05, -41.60)
CIE-LCHlch(40.80, 55.05, 310.91°)
OKLaboklab(50.47% 0.0777 -0.1171)
OKLCHoklch(50.47% 0.141 303.6)
XYZxyz(16.8457, 11.7371, 36.9680)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CA5 #7BA54C
analogous
#4C4FA5 #764CA5 #A34CA5
triadic
#764CA5 #A5764C #4CA576
tetradic
#764CA5 #A54C4F #7BA54C #4CA5A3
square
#764CA5 #A54C4F #7BA54C #4CA5A3
split-complementary
#764CA5 #A5A34C #4FA54C
monochromatic
#3A2551 #58397B #764CA5 #9571BD #B49BD1

Accessibility & contrast

On white

6.27
#764CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#764CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CA5
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CA5#FFFFFF#000000##FFFFFF
##764CA51.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5FA8
Deuteranopia (green-blind)
#3A60A3
Tritanopia (blue-blind)
#6E5D71
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #764ca5;
/* rgb */ color: rgb(118, 76, 165);
/* oklch */ color: oklch(50.5% 0.141 303.6);
Tailwind
colors: {
  custom: {
    50: '#a07fc0',
    500: '#764ca5',
    950: '#000000',
  },
}
SCSS
$custom: #764ca5;
$custom-light: #a07fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#764ca5",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 268.315,
    "s": 36.929,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50468,
    "c": 0.14057,
    "h": 303.6
  },
  "luminance": 0.11737
}

Semantic roles & 50–950 ramp

primary
#764CA5
secondary
#A8BD8F
accent
#CD5B97
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #764CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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