#764CA3#764CA3

#764CA3 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.3% C 0.138 H 304.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#764CA3
RGBrgb(118, 76, 163)
HSLhsl(269, 36%, 47%)
HSVhsv(269, 53%, 64%)
CMYKcmyk(27.6%, 53.4%, 0%, 36.1%)
CIE-LABlab(40.68, 35.55, -40.60)
CIE-LCHlch(40.68, 53.96, 311.21°)
OKLaboklab(50.34% 0.0775 -0.1142)
OKLCHoklch(50.34% 0.138 304.2)
XYZxyz(16.6651, 11.6648, 36.0168)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CA3 #79A34C
analogous
#4C4DA3 #764CA3 #A24CA3
triadic
#764CA3 #A3764C #4CA376
tetradic
#764CA3 #A34C4D #79A34C #4CA3A2
square
#764CA3 #A34C4D #79A34C #4CA3A2
split-complementary
#764CA3 #A3A24C #4DA34C
monochromatic
#3A2550 #583979 #764CA3 #9570BC #B49AD0

Accessibility & contrast

On white

6.30
#764CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#764CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CA3
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CA3#FFFFFF#000000##FFFFFF
##764CA31.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5FA6
Deuteranopia (green-blind)
#3C60A1
Tritanopia (blue-blind)
#6E5C70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #764ca3;
/* rgb */ color: rgb(118, 76, 163);
/* oklch */ color: oklch(50.3% 0.138 304.2);
Tailwind
colors: {
  custom: {
    50: '#a07fbf',
    500: '#764ca3',
    950: '#000000',
  },
}
SCSS
$custom: #764ca3;
$custom-light: #a07fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#764ca3",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 163
  },
  "hsl": {
    "h": 268.966,
    "s": 36.402,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50344,
    "c": 0.13805,
    "h": 304.2
  },
  "luminance": 0.11665
}

Semantic roles & 50–950 ramp

primary
#764CA3
secondary
#A6BC8F
accent
#CC5B96
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #764CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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