#764CDB#764CDB

#764CDB is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.3% C 0.207 H 291.5°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#764CDB
RGBrgb(118, 76, 219)
HSLhsl(258, 67%, 58%)
HSVhsv(258, 65%, 86%)
CMYKcmyk(46.1%, 65.3%, 0%, 14.1%)
CIE-LABlab(44.42, 50.39, -67.22)
CIE-LCHlch(44.42, 84.01, 306.86°)
OKLaboklab(54.27% 0.0757 -0.1924)
OKLCHoklch(54.27% 0.207 291.5)
XYZxyz(22.8383, 14.1341, 68.5289)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CDB #B1DB4C
analogous
#4C6ADB #764CDB #BD4CDB
triadic
#764CDB #DB764C #4CDB76
tetradic
#764CDB #DB4C6A #B1DB4C #4CDBBD
square
#764CDB #DB4C6A #B1DB4C #4CDBBD
split-complementary
#764CDB #DBBD4C #6ADB4C
monochromatic
#3F1D90 #5527C3 #764CDB #9D7FE5 #C4B2EF

Accessibility & contrast

On white

5.49
#764CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#764CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CDB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CDB#FFFFFF#000000##FFFFFF
##764CDB1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#576F8D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #764cdb;
/* rgb */ color: rgb(118, 76, 219);
/* oklch */ color: oklch(54.3% 0.207 291.5);
Tailwind
colors: {
  custom: {
    50: '#a580e7',
    500: '#764cdb',
    950: '#000000',
  },
}
SCSS
$custom: #764cdb;
$custom-light: #a580e7;
$custom-dark: #000000;
JSON
{
  "hex": "#764cdb",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 257.622,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5427,
    "c": 0.20675,
    "h": 291.5
  },
  "luminance": 0.14135
}

Semantic roles & 50–950 ramp

primary
#764CDB
secondary
#CDDEA5
accent
#E93EB7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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