#764CD2#764CD2

#764CD2 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.6% C 0.196 H 293.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#764CD2
RGBrgb(118, 76, 210)
HSLhsl(259, 60%, 56%)
HSVhsv(259, 64%, 82%)
CMYKcmyk(43.8%, 63.8%, 0%, 17.6%)
CIE-LABlab(43.76, 47.94, -63.14)
CIE-LCHlch(43.76, 79.28, 307.21°)
OKLaboklab(53.58% 0.0767 -0.1804)
OKLCHoklch(53.58% 0.196 293)
XYZxyz(21.6853, 13.6729, 62.4569)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CD2 #A8D24C
analogous
#4C65D2 #764CD2 #B94CD2
triadic
#764CD2 #D2764C #4CD276
tetradic
#764CD2 #D24C65 #A8D24C #4CD2B9
square
#764CD2 #D24C65 #A8D24C #4CD2B9
split-complementary
#764CD2 #D2B94C #65D24C
monochromatic
#402183 #572DB4 #764CD2 #9B7DDE #C1AEEB

Accessibility & contrast

On white

5.62
#764CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#764CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CD2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CD2#FFFFFF#000000##FFFFFF
##764CD21.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#0065CF
Tritanopia (blue-blind)
#5C6B88
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #764cd2;
/* rgb */ color: rgb(118, 76, 210);
/* oklch */ color: oklch(53.6% 0.196 293.0);
Tailwind
colors: {
  custom: {
    50: '#a480e1',
    500: '#764cd2',
    950: '#000000',
  },
}
SCSS
$custom: #764cd2;
$custom-light: #a480e1;
$custom-dark: #000000;
JSON
{
  "hex": "#764cd2",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 258.806,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53582,
    "c": 0.19604,
    "h": 293
  },
  "luminance": 0.13674
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #764CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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