#764BB9#764BB9

#764BB9 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.6% C 0.167 H 298.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#764BB9
RGBrgb(118, 75, 185)
HSLhsl(263, 44%, 51%)
HSVhsv(263, 59%, 73%)
CMYKcmyk(36.2%, 59.5%, 0%, 27.5%)
CIE-LABlab(41.82, 41.79, -51.77)
CIE-LCHlch(41.82, 66.53, 308.91°)
OKLaboklab(51.62% 0.0794 -0.147)
OKLCHoklch(51.62% 0.167 298.4)
XYZxyz(18.7421, 12.3863, 47.2929)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BB9 #8EB94B
analogous
#4B57B9 #764BB9 #AD4BB9
triadic
#764BB9 #B9764B #4BB976
tetradic
#764BB9 #B94B57 #8EB94B #4BB9AD
square
#764BB9 #B94B57 #8EB94B #4BB9AD
split-complementary
#764BB9 #B9AD4B #57B94B
monochromatic
#3E2763 #5A388F #764BB9 #9877CA #B9A3DB

Accessibility & contrast

On white

6.04
#764BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#764BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764BB9
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764BB9#FFFFFF#000000##FFFFFF
##764BB91.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0763BD
Deuteranopia (green-blind)
#2362B7
Tritanopia (blue-blind)
#67627B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #764bb9;
/* rgb */ color: rgb(118, 75, 185);
/* oklch */ color: oklch(51.6% 0.167 298.4);
Tailwind
colors: {
  custom: {
    50: '#a27fcf',
    500: '#764bb9',
    950: '#000000',
  },
}
SCSS
$custom: #764bb9;
$custom-light: #a27fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#764bb9",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 185
  },
  "hsl": {
    "h": 263.455,
    "s": 44,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51624,
    "c": 0.16703,
    "h": 298.4
  },
  "luminance": 0.12386
}

Semantic roles & 50–950 ramp

primary
#764BB9
secondary
#B5C898
accent
#D454A2
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #764BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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