#764BD9#764BD9

#764BD9 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.0% C 0.206 H 292.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#764BD9
RGBrgb(118, 75, 217)
HSLhsl(258, 65%, 57%)
HSVhsv(258, 65%, 85%)
CMYKcmyk(45.6%, 65.4%, 0%, 14.9%)
CIE-LABlab(44.08, 50.38, -66.64)
CIE-LCHlch(44.08, 83.54, 307.09°)
OKLaboklab(53.97% 0.077 -0.1907)
OKLCHoklch(53.97% 0.206 292)
XYZxyz(22.5082, 13.8927, 67.1278)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BD9 #AED94B
analogous
#4B67D9 #764BD9 #BD4BD9
triadic
#764BD9 #D9764B #4BD976
tetradic
#764BD9 #D94B67 #AED94B #4BD9BD
square
#764BD9 #D94B67 #AED94B #4BD9BD
split-complementary
#764BD9 #D9BD4B #67D94B
monochromatic
#3F1E8C #5628BF #764BD9 #9C7EE4 #C3B0EE

Accessibility & contrast

On white

5.56
#764BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#764BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764BD9
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764BD9#FFFFFF#000000##FFFFFF
##764BD91.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADD
Deuteranopia (green-blind)
#0065D6
Tritanopia (blue-blind)
#586D8C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #764bd9;
/* rgb */ color: rgb(118, 75, 217);
/* oklch */ color: oklch(54.0% 0.206 292.0);
Tailwind
colors: {
  custom: {
    50: '#a580e6',
    500: '#764bd9',
    950: '#000000',
  },
}
SCSS
$custom: #764bd9;
$custom-light: #a580e6;
$custom-dark: #000000;
JSON
{
  "hex": "#764bd9",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 217
  },
  "hsl": {
    "h": 258.169,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53974,
    "c": 0.20563,
    "h": 292
  },
  "luminance": 0.13893
}

Semantic roles & 50–950 ramp

primary
#764BD9
secondary
#CBDDA3
accent
#E840B5
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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