#764CDD#764CDD

#764CDD is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.4% C 0.209 H 291.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#764CDD
RGBrgb(118, 76, 221)
HSLhsl(257, 68%, 58%)
HSVhsv(257, 66%, 87%)
CMYKcmyk(46.6%, 65.6%, 0%, 13.3%)
CIE-LABlab(44.58, 50.94, -68.11)
CIE-LCHlch(44.58, 85.05, 306.79°)
OKLaboklab(54.43% 0.0755 -0.195)
OKLCHoklch(54.43% 0.209 291.2)
XYZxyz(23.1031, 14.2401, 69.9239)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CDD #B3DD4C
analogous
#4C6ADD #764CDD #BE4CDD
triadic
#764CDD #DD764C #4CDD76
tetradic
#764CDD #DD4C6A #B3DD4C #4CDDBE
square
#764CDD #DD4C6A #B3DD4C #4CDDBE
split-complementary
#764CDD #DDBE4C #6ADD4C
monochromatic
#3E1C93 #5426C6 #764CDD #9D7FE7 #C5B3F1

Accessibility & contrast

On white

5.46
#764CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#764CDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CDD
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CDD#FFFFFF#000000##FFFFFF
##764CDD1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE1
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#566F8E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #764cdd;
/* rgb */ color: rgb(118, 76, 221);
/* oklch */ color: oklch(54.4% 0.209 291.2);
Tailwind
colors: {
  custom: {
    50: '#a581e9',
    500: '#764cdd',
    950: '#000000',
  },
}
SCSS
$custom: #764cdd;
$custom-light: #a581e9;
$custom-dark: #000000;
JSON
{
  "hex": "#764cdd",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 221
  },
  "hsl": {
    "h": 257.379,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54426,
    "c": 0.20911,
    "h": 291.2
  },
  "luminance": 0.14241
}

Semantic roles & 50–950 ramp

primary
#764CDD
secondary
#CFDFA6
accent
#EB3DB9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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