#764ABE#764ABE

#764ABE is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.8% C 0.175 H 297.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#764ABE
RGBrgb(118, 74, 190)
HSLhsl(263, 47%, 52%)
HSVhsv(263, 61%, 75%)
CMYKcmyk(37.9%, 61.1%, 0%, 25.5%)
CIE-LABlab(41.95, 43.66, -54.49)
CIE-LCHlch(41.95, 69.83, 308.70°)
OKLaboklab(51.82% 0.0804 -0.155)
OKLCHoklch(51.82% 0.175 297.4)
XYZxyz(19.2119, 12.4665, 50.0993)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764ABE #92BE4A
analogous
#4A58BE #764ABE #B04ABE
triadic
#764ABE #BE764A #4ABE76
tetradic
#764ABE #BE4A58 #92BE4A #4ABEB0
square
#764ABE #BE4A58 #92BE4A #4ABEB0
split-complementary
#764ABE #BEB04A #58BE4A
monochromatic
#3F2568 #5A3695 #764ABE #9877CE #BAA4DE

Accessibility & contrast

On white

6.01
#764ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#764ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764ABE
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764ABE#FFFFFF#000000##FFFFFF
##764ABE1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#1662BB
Tritanopia (blue-blind)
#65637D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #764abe;
/* rgb */ color: rgb(118, 74, 190);
/* oklch */ color: oklch(51.8% 0.175 297.4);
Tailwind
colors: {
  custom: {
    50: '#a27fd2',
    500: '#764abe',
    950: '#000000',
  },
}
SCSS
$custom: #764abe;
$custom-light: #a27fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#764abe",
  "rgb": {
    "r": 118,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 262.759,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51822,
    "c": 0.17458,
    "h": 297.4
  },
  "luminance": 0.12467
}

Semantic roles & 50–950 ramp

primary
#764ABE
secondary
#B8CB98
accent
#D751A4
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #764ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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