#764EBE#764EBE

#764EBE is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.4% C 0.169 H 296.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#764EBE
RGBrgb(118, 78, 190)
HSLhsl(261, 46%, 53%)
HSVhsv(261, 59%, 75%)
CMYKcmyk(37.9%, 58.9%, 0%, 25.5%)
CIE-LABlab(42.79, 41.43, -53.13)
CIE-LCHlch(42.79, 67.38, 307.94°)
OKLaboklab(52.44% 0.0756 -0.151)
OKLCHoklch(52.44% 0.169 296.6)
XYZxyz(19.4875, 13.0177, 50.1912)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764EBE #96BE4E
analogous
#4E5EBE #764EBE #AE4EBE
triadic
#764EBE #BE764E #4EBE76
tetradic
#764EBE #BE4E5E #96BE4E #4EBEAE
square
#764EBE #BE4E5E #96BE4E #4EBEAE
split-complementary
#764EBE #BEAE4E #5EBE4E
monochromatic
#3F276A #5A3897 #764EBE #997BCE #BBA8DF

Accessibility & contrast

On white

5.83
#764EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#764EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764EBE
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764EBE#FFFFFF#000000##FFFFFF
##764EBE1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0866C2
Deuteranopia (green-blind)
#2064BC
Tritanopia (blue-blind)
#65667E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #764ebe;
/* rgb */ color: rgb(118, 78, 190);
/* oklch */ color: oklch(52.4% 0.169 296.6);
Tailwind
colors: {
  custom: {
    50: '#a281d2',
    500: '#764ebe',
    950: '#000000',
  },
}
SCSS
$custom: #764ebe;
$custom-light: #a281d2;
$custom-dark: #000000;
JSON
{
  "hex": "#764ebe",
  "rgb": {
    "r": 118,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 261.429,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52436,
    "c": 0.16887,
    "h": 296.6
  },
  "luminance": 0.13018
}

Semantic roles & 50–950 ramp

primary
#764EBE
secondary
#BBCC9C
accent
#D652A7
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #764EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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