#764CB5#764CB5

#764CB5 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.5% C 0.161 H 299.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#764CB5
RGBrgb(118, 76, 181)
HSLhsl(264, 42%, 50%)
HSVhsv(264, 58%, 71%)
CMYKcmyk(34.8%, 58%, 0%, 29%)
CIE-LABlab(41.78, 40.17, -49.50)
CIE-LCHlch(41.78, 63.75, 309.06°)
OKLaboklab(51.51% 0.0782 -0.1403)
OKLCHoklch(51.51% 0.161 299.1)
XYZxyz(18.3941, 12.3565, 45.1231)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CB5 #8BB54C
analogous
#4C56B5 #764CB5 #AA4CB5
triadic
#764CB5 #B5764C #4CB576
tetradic
#764CB5 #B54C56 #8BB54C #4CB5AA
square
#764CB5 #B54C56 #8BB54C #4CB5AA
split-complementary
#764CB5 #B5AA4C #56B54C
monochromatic
#3E275F #5A398B #764CB5 #9777C7 #B8A3D9

Accessibility & contrast

On white

6.05
#764CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#764CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CB5
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CB5#FFFFFF#000000##FFFFFF
##764CB51.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1862B8
Deuteranopia (green-blind)
#2A62B3
Tritanopia (blue-blind)
#686279
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #764cb5;
/* rgb */ color: rgb(118, 76, 181);
/* oklch */ color: oklch(51.5% 0.161 299.1);
Tailwind
colors: {
  custom: {
    50: '#a180cc',
    500: '#764cb5',
    950: '#000000',
  },
}
SCSS
$custom: #764cb5;
$custom-light: #a180cc;
$custom-dark: #000000;
JSON
{
  "hex": "#764cb5",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 181
  },
  "hsl": {
    "h": 264,
    "s": 41.502,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51507,
    "c": 0.1606,
    "h": 299.1
  },
  "luminance": 0.12357
}

Semantic roles & 50–950 ramp

primary
#764CB5
secondary
#B3C697
accent
#D156A0
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #764CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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