#764BD3#764BD3

#764BD3 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.5% C 0.199 H 293.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#764BD3
RGBrgb(118, 75, 211)
HSLhsl(259, 61%, 56%)
HSVhsv(259, 64%, 83%)
CMYKcmyk(44.1%, 64.5%, 0%, 17.3%)
CIE-LABlab(43.63, 48.75, -63.92)
CIE-LCHlch(43.63, 80.39, 307.33°)
OKLaboklab(53.51% 0.0777 -0.1827)
OKLCHoklch(53.51% 0.199 293)
XYZxyz(21.7419, 13.5862, 63.0922)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BD3 #A8D34B
analogous
#4B64D3 #764BD3 #BA4BD3
triadic
#764BD3 #D3764B #4BD376
tetradic
#764BD3 #D34B64 #A8D34B #4BD3BA
square
#764BD3 #D34B64 #A8D34B #4BD3BA
split-complementary
#764BD3 #D3BA4B #64D34B
monochromatic
#402083 #572CB5 #764BD3 #9B7CDF #C1ADEB

Accessibility & contrast

On white

5.65
#764BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#764BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764BD3
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764BD3#FFFFFF#000000##FFFFFF
##764BD31.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#5B6B88
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #764bd3;
/* rgb */ color: rgb(118, 75, 211);
/* oklch */ color: oklch(53.5% 0.199 293.0);
Tailwind
colors: {
  custom: {
    50: '#a480e1',
    500: '#764bd3',
    950: '#000000',
  },
}
SCSS
$custom: #764bd3;
$custom-light: #a480e1;
$custom-dark: #000000;
JSON
{
  "hex": "#764bd3",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 211
  },
  "hsl": {
    "h": 258.971,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53513,
    "c": 0.19852,
    "h": 293
  },
  "luminance": 0.13587
}

Semantic roles & 50–950 ramp

primary
#764BD3
secondary
#C7D9A1
accent
#E444B1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #764BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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