#764DDC#764DDC

#764DDC is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.5% C 0.207 H 291.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#764DDC
RGBrgb(118, 77, 220)
HSLhsl(257, 67%, 58%)
HSVhsv(257, 65%, 86%)
CMYKcmyk(46.4%, 65%, 0%, 13.7%)
CIE-LABlab(44.70, 50.13, -67.34)
CIE-LCHlch(44.70, 83.96, 306.67°)
OKLaboklab(54.49% 0.0746 -0.1928)
OKLCHoklch(54.49% 0.207 291.2)
XYZxyz(23.0397, 14.3258, 69.2475)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764DDC #B3DC4D
analogous
#4D6BDC #764DDC #BD4DDC
triadic
#764DDC #DC764D #4DDC76
tetradic
#764DDC #DC4D6B #B3DC4D #4DDCBD
square
#764DDC #DC4D6B #B3DC4D #4DDCBD
split-complementary
#764DDC #DCBD4D #6BDC4D
monochromatic
#3E1D92 #5427C5 #764DDC #9D80E6 #C5B3F0

Accessibility & contrast

On white

5.43
#764DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#764DDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764DDC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764DDC#FFFFFF#000000##FFFFFF
##764DDC1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#56708E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #764ddc;
/* rgb */ color: rgb(118, 77, 220);
/* oklch */ color: oklch(54.5% 0.207 291.2);
Tailwind
colors: {
  custom: {
    50: '#a581e8',
    500: '#764ddc',
    950: '#000000',
  },
}
SCSS
$custom: #764ddc;
$custom-light: #a581e8;
$custom-dark: #000000;
JSON
{
  "hex": "#764ddc",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 257.203,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5449,
    "c": 0.2067,
    "h": 291.2
  },
  "luminance": 0.14327
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #764DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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