#764DCE#764DCE

#764DCE is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.4% C 0.190 H 293.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#764DCE
RGBrgb(118, 77, 206)
HSLhsl(259, 57%, 55%)
HSVhsv(259, 63%, 81%)
CMYKcmyk(42.7%, 62.6%, 0%, 19.2%)
CIE-LABlab(43.68, 46.30, -60.98)
CIE-LCHlch(43.68, 76.57, 307.21°)
OKLaboklab(53.43% 0.076 -0.174)
OKLCHoklch(53.43% 0.19 293.6)
XYZxyz(21.2627, 13.6150, 59.8882)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764DCE #A5CE4D
analogous
#4D64CE #764DCE #B74DCE
triadic
#764DCE #CE764D #4DCE76
tetradic
#764DCE #CE4D64 #A5CE4D #4DCEB7
square
#764DCE #CE4D64 #A5CE4D #4DCEB7
split-complementary
#764DCE #CEB74D #64CE4D
monochromatic
#40237E #5830AE #764DCE #9B7DDB #C0ADE8

Accessibility & contrast

On white

5.64
#764DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#764DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764DCE
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764DCE#FFFFFF#000000##FFFFFF
##764DCE1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#5E6B86
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #764dce;
/* rgb */ color: rgb(118, 77, 206);
/* oklch */ color: oklch(53.4% 0.190 293.6);
Tailwind
colors: {
  custom: {
    50: '#a481de',
    500: '#764dce',
    950: '#000000',
  },
}
SCSS
$custom: #764dce;
$custom-light: #a481de;
$custom-dark: #000000;
JSON
{
  "hex": "#764dce",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 206
  },
  "hsl": {
    "h": 259.07,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5343,
    "c": 0.18991,
    "h": 293.6
  },
  "luminance": 0.13616
}

Semantic roles & 50–950 ramp

primary
#764DCE
secondary
#C5D6A1
accent
#E048B0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #764DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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