#764CD3#764CD3

#764CD3 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.7% C 0.197 H 292.9°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#764CD3
RGBrgb(118, 76, 211)
HSLhsl(259, 61%, 56%)
HSVhsv(259, 64%, 83%)
CMYKcmyk(44.1%, 64%, 0%, 17.3%)
CIE-LABlab(43.83, 48.21, -63.60)
CIE-LCHlch(43.83, 79.81, 307.16°)
OKLaboklab(53.66% 0.0766 -0.1817)
OKLCHoklch(53.66% 0.197 292.9)
XYZxyz(21.8103, 13.7229, 63.1150)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CD3 #A9D34C
analogous
#4C66D3 #764CD3 #BA4CD3
triadic
#764CD3 #D3764C #4CD376
tetradic
#764CD3 #D34C66 #A9D34C #4CD3BA
square
#764CD3 #D34C66 #A9D34C #4CD3BA
split-complementary
#764CD3 #D3BA4C #66D34C
monochromatic
#3F2084 #572DB5 #764CD3 #9C7DDF #C1AEEB

Accessibility & contrast

On white

5.61
#764CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#764CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CD3
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CD3#FFFFFF#000000##FFFFFF
##764CD31.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #764cd3;
/* rgb */ color: rgb(118, 76, 211);
/* oklch */ color: oklch(53.7% 0.197 292.9);
Tailwind
colors: {
  custom: {
    50: '#a480e1',
    500: '#764cd3',
    950: '#000000',
  },
}
SCSS
$custom: #764cd3;
$custom-light: #a480e1;
$custom-dark: #000000;
JSON
{
  "hex": "#764cd3",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 258.667,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53657,
    "c": 0.19723,
    "h": 292.9
  },
  "luminance": 0.13724
}

Semantic roles & 50–950 ramp

primary
#764CD3
secondary
#C8D9A2
accent
#E444B2
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #764CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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