#764DBE#764DBE

#764DBE is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.3% C 0.170 H 296.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#764DBE
RGBrgb(118, 77, 190)
HSLhsl(262, 47%, 52%)
HSVhsv(262, 59%, 75%)
CMYKcmyk(37.9%, 59.5%, 0%, 25.5%)
CIE-LABlab(42.58, 41.99, -53.48)
CIE-LCHlch(42.58, 67.99, 308.14°)
OKLaboklab(52.28% 0.0768 -0.152)
OKLCHoklch(52.28% 0.17 296.8)
XYZxyz(19.4170, 12.8767, 50.1677)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764DBE #95BE4D
analogous
#4D5DBE #764DBE #AF4DBE
triadic
#764DBE #BE764D #4DBE76
tetradic
#764DBE #BE4D5D #95BE4D #4DBEAF
square
#764DBE #BE4D5D #95BE4D #4DBEAF
split-complementary
#764DBE #BEAF4D #5DBE4D
monochromatic
#3F276A #5A3797 #764DBE #997ACE #BBA7DF

Accessibility & contrast

On white

5.87
#764DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#764DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764DBE
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764DBE#FFFFFF#000000##FFFFFF
##764DBE1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0165C2
Deuteranopia (green-blind)
#1E63BC
Tritanopia (blue-blind)
#65657E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #764dbe;
/* rgb */ color: rgb(118, 77, 190);
/* oklch */ color: oklch(52.3% 0.170 296.8);
Tailwind
colors: {
  custom: {
    50: '#a280d2',
    500: '#764dbe',
    950: '#000000',
  },
}
SCSS
$custom: #764dbe;
$custom-light: #a280d2;
$custom-dark: #000000;
JSON
{
  "hex": "#764dbe",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 190
  },
  "hsl": {
    "h": 261.77,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5228,
    "c": 0.17031,
    "h": 296.8
  },
  "luminance": 0.12877
}

Semantic roles & 50–950 ramp

primary
#764DBE
secondary
#BACC9B
accent
#D652A6
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #764DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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