#764CD8#764CD8

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

Color values

HEX#764CD8
RGBrgb(118, 76, 216)
HSLhsl(258, 64%, 57%)
HSVhsv(258, 65%, 85%)
CMYKcmyk(45.4%, 64.8%, 0%, 15.3%)
CIE-LABlab(44.20, 49.57, -65.87)
CIE-LCHlch(44.20, 82.44, 306.97°)
OKLaboklab(54.04% 0.0761 -0.1884)
OKLCHoklch(54.04% 0.203 292)
XYZxyz(22.4469, 13.9776, 66.4677)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CD8 #AED84C
analogous
#4C68D8 #764CD8 #BC4CD8
triadic
#764CD8 #D8764C #4CD876
tetradic
#764CD8 #D84C68 #AED84C #4CD8BC
square
#764CD8 #D84C68 #AED84C #4CD8BC
split-complementary
#764CD8 #D8BC4C #68D84C
monochromatic
#3F1E8B #5629BE #764CD8 #9C7EE3 #C3B1EE

Accessibility & contrast

On white

5.53
#764CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#764CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CD8
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CD8#FFFFFF#000000##FFFFFF
##764CD81.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#0066D5
Tritanopia (blue-blind)
#596E8B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #764cd8;
/* rgb */ color: rgb(118, 76, 216);
/* oklch */ color: oklch(54.0% 0.203 292.0);
Tailwind
colors: {
  custom: {
    50: '#a580e5',
    500: '#764cd8',
    950: '#000000',
  },
}
SCSS
$custom: #764cd8;
$custom-light: #a580e5;
$custom-dark: #000000;
JSON
{
  "hex": "#764cd8",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 258,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54038,
    "c": 0.2032,
    "h": 292
  },
  "luminance": 0.13978
}

Semantic roles & 50–950 ramp

primary
#764CD8
secondary
#CBDCA4
accent
#E741B5
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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