#764DD2#764DD2

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

Color values

HEX#764DD2
RGBrgb(118, 77, 210)
HSLhsl(258, 60%, 56%)
HSVhsv(258, 63%, 82%)
CMYKcmyk(43.8%, 63.3%, 0%, 17.6%)
CIE-LABlab(43.96, 47.39, -62.81)
CIE-LCHlch(43.96, 78.69, 307.03°)
OKLaboklab(53.73% 0.0756 -0.1794)
OKLCHoklch(53.73% 0.195 292.9)
XYZxyz(21.7548, 13.8118, 62.4800)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764DD2 #A9D24D
analogous
#4D67D2 #764DD2 #B94DD2
triadic
#764DD2 #D2764D #4DD276
tetradic
#764DD2 #D24D67 #A9D24D #4DD2B9
square
#764DD2 #D24D67 #A9D24D #4DD2B9
split-complementary
#764DD2 #D2B94D #67D24D
monochromatic
#3F2183 #572EB4 #764DD2 #9C7EDE #C1AFEB

Accessibility & contrast

On white

5.58
#764DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#764DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764DD2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764DD2#FFFFFF#000000##FFFFFF
##764DD21.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#0065CF
Tritanopia (blue-blind)
#5C6C88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #764dd2;
/* rgb */ color: rgb(118, 77, 210);
/* oklch */ color: oklch(53.7% 0.195 292.9);
Tailwind
colors: {
  custom: {
    50: '#a481e1',
    500: '#764dd2',
    950: '#000000',
  },
}
SCSS
$custom: #764dd2;
$custom-light: #a481e1;
$custom-dark: #000000;
JSON
{
  "hex": "#764dd2",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 210
  },
  "hsl": {
    "h": 258.496,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53728,
    "c": 0.19474,
    "h": 292.9
  },
  "luminance": 0.13812
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #764DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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