#764CD9#764CD9

#764CD9 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.1% C 0.204 H 291.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#764CD9
RGBrgb(118, 76, 217)
HSLhsl(258, 65%, 57%)
HSVhsv(258, 65%, 85%)
CMYKcmyk(45.6%, 65%, 0%, 14.9%)
CIE-LABlab(44.28, 49.85, -66.32)
CIE-LCHlch(44.28, 82.96, 306.93°)
OKLaboklab(54.12% 0.076 -0.1897)
OKLCHoklch(54.12% 0.204 291.8)
XYZxyz(22.5766, 14.0294, 67.1506)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CD9 #AFD94C
analogous
#4C69D9 #764CD9 #BC4CD9
triadic
#764CD9 #D9764C #4CD976
tetradic
#764CD9 #D94C69 #AFD94C #4CD9BC
square
#764CD9 #D94C69 #AFD94C #4CD9BC
split-complementary
#764CD9 #D9BC4C #69D94C
monochromatic
#3F1E8D #5529BF #764CD9 #9D7EE4 #C3B1EE

Accessibility & contrast

On white

5.52
#764CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#764CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CD9
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CD9#FFFFFF#000000##FFFFFF
##764CD91.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#0066D6
Tritanopia (blue-blind)
#586E8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #764cd9;
/* rgb */ color: rgb(118, 76, 217);
/* oklch */ color: oklch(54.1% 0.204 291.8);
Tailwind
colors: {
  custom: {
    50: '#a580e6',
    500: '#764cd9',
    950: '#000000',
  },
}
SCSS
$custom: #764cd9;
$custom-light: #a580e6;
$custom-dark: #000000;
JSON
{
  "hex": "#764cd9",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 257.872,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54115,
    "c": 0.20439,
    "h": 291.8
  },
  "luminance": 0.1403
}

Semantic roles & 50–950 ramp

primary
#764CD9
secondary
#CCDDA4
accent
#E840B6
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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