#764AB6#764AB6

#764AB6 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.3% C 0.165 H 299.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#764AB6
RGBrgb(118, 74, 182)
HSLhsl(264, 43%, 50%)
HSVhsv(264, 59%, 71%)
CMYKcmyk(35.2%, 59.3%, 0%, 28.6%)
CIE-LABlab(41.42, 41.56, -50.66)
CIE-LCHlch(41.42, 65.53, 309.36°)
OKLaboklab(51.26% 0.0807 -0.1437)
OKLCHoklch(51.26% 0.165 299.3)
XYZxyz(18.3614, 12.1263, 45.6202)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764AB6 #8AB64A
analogous
#4A54B6 #764AB6 #AC4AB6
triadic
#764AB6 #B6764A #4AB676
tetradic
#764AB6 #B64A54 #8AB64A #4AB6AC
square
#764AB6 #B64A54 #8AB64A #4AB6AC
split-complementary
#764AB6 #B6AC4A #54B64A
monochromatic
#3E265F #5A388B #764AB6 #9776C8 #B8A1D9

Accessibility & contrast

On white

6.13
#764AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#764AB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764AB6
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764AB6#FFFFFF#000000##FFFFFF
##764AB61.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C62BA
Deuteranopia (green-blind)
#2561B4
Tritanopia (blue-blind)
#686179
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #764ab6;
/* rgb */ color: rgb(118, 74, 182);
/* oklch */ color: oklch(51.3% 0.165 299.3);
Tailwind
colors: {
  custom: {
    50: '#a27ecc',
    500: '#764ab6',
    950: '#000000',
  },
}
SCSS
$custom: #764ab6;
$custom-light: #a27ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#764ab6",
  "rgb": {
    "r": 118,
    "g": 74,
    "b": 182
  },
  "hsl": {
    "h": 264.444,
    "s": 42.52,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51264,
    "c": 0.16481,
    "h": 299.3
  },
  "luminance": 0.12127
}

Semantic roles & 50–950 ramp

primary
#764AB6
secondary
#B2C696
accent
#D2559F
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #764AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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