#764AB9#764AB9

#764AB9 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.5% C 0.168 H 298.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#764AB9
RGBrgb(118, 74, 185)
HSLhsl(264, 44%, 51%)
HSVhsv(264, 60%, 73%)
CMYKcmyk(36.2%, 60%, 0%, 27.5%)
CIE-LABlab(41.61, 42.34, -52.11)
CIE-LCHlch(41.61, 67.14, 309.10°)
OKLaboklab(51.47% 0.0806 -0.148)
OKLCHoklch(51.47% 0.168 298.6)
XYZxyz(18.6748, 12.2517, 47.2705)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764AB9 #8DB94A
analogous
#4A55B9 #764AB9 #AD4AB9
triadic
#764AB9 #B9764A #4AB976
tetradic
#764AB9 #B94A55 #8DB94A #4AB9AD
square
#764AB9 #B94A55 #8DB94A #4AB9AD
split-complementary
#764AB9 #B9AD4A #55B94A
monochromatic
#3E2663 #5A378F #764AB9 #9776CA #B9A2DB

Accessibility & contrast

On white

6.09
#764AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#764AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764AB9
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764AB9#FFFFFF#000000##FFFFFF
##764AB91.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0162BD
Deuteranopia (green-blind)
#2161B7
Tritanopia (blue-blind)
#67627A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #764ab9;
/* rgb */ color: rgb(118, 74, 185);
/* oklch */ color: oklch(51.5% 0.168 298.6);
Tailwind
colors: {
  custom: {
    50: '#a27ecf',
    500: '#764ab9',
    950: '#000000',
  },
}
SCSS
$custom: #764ab9;
$custom-light: #a27ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#764ab9",
  "rgb": {
    "r": 118,
    "g": 74,
    "b": 185
  },
  "hsl": {
    "h": 263.784,
    "s": 44.223,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51471,
    "c": 0.16848,
    "h": 298.6
  },
  "luminance": 0.12252
}

Semantic roles & 50–950 ramp

primary
#764AB9
secondary
#B5C897
accent
#D454A1
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #764AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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