#764BD2#764BD2

#764BD2 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.4% C 0.197 H 293.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#764BD2
RGBrgb(118, 75, 210)
HSLhsl(259, 60%, 56%)
HSVhsv(259, 64%, 82%)
CMYKcmyk(43.8%, 64.3%, 0%, 17.6%)
CIE-LABlab(43.56, 48.48, -63.47)
CIE-LCHlch(43.56, 79.86, 307.37°)
OKLaboklab(53.44% 0.0778 -0.1814)
OKLCHoklch(53.44% 0.197 293.2)
XYZxyz(21.6170, 13.5362, 62.4341)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BD2 #A7D24B
analogous
#4B63D2 #764BD2 #B94BD2
triadic
#764BD2 #D2764B #4BD276
tetradic
#764BD2 #D24B63 #A7D24B #4BD2B9
square
#764BD2 #D24B63 #A7D24B #4BD2B9
split-complementary
#764BD2 #D2B94B #63D24B
monochromatic
#402182 #582DB3 #764BD2 #9B7CDE #C1ADEA

Accessibility & contrast

On white

5.66
#764BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#764BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764BD2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764BD2#FFFFFF#000000##FFFFFF
##764BD21.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #764bd2;
/* rgb */ color: rgb(118, 75, 210);
/* oklch */ color: oklch(53.4% 0.197 293.2);
Tailwind
colors: {
  custom: {
    50: '#a480e1',
    500: '#764bd2',
    950: '#000000',
  },
}
SCSS
$custom: #764bd2;
$custom-light: #a480e1;
$custom-dark: #000000;
JSON
{
  "hex": "#764bd2",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 259.111,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53437,
    "c": 0.19732,
    "h": 293.2
  },
  "luminance": 0.13537
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #764BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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