#764DEC#764DEC

#764DEC is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.8% C 0.225 H 288.7°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#764DEC
RGBrgb(118, 77, 236)
HSLhsl(255, 81%, 61%)
HSVhsv(255, 67%, 93%)
CMYKcmyk(50%, 67.4%, 0%, 7.5%)
CIE-LABlab(45.93, 54.55, -74.41)
CIE-LCHlch(45.93, 92.26, 306.24°)
OKLaboklab(55.76% 0.0724 -0.2135)
OKLCHoklch(55.76% 0.225 288.7)
XYZxyz(25.2610, 15.2143, 80.9462)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764DEC #C3EC4D
analogous
#4D74EC #764DEC #C64DEC
triadic
#764DEC #EC764D #4DEC76
tetradic
#764DEC #EC4D74 #C3EC4D #4DECC6
square
#764DEC #EC4D74 #C3EC4D #4DECC6
split-complementary
#764DEC #ECC64D #74EC4D
monochromatic
#3A12AC #4D18E4 #764DEC #A184F2 #CBBCF8

Accessibility & contrast

On white

5.19
#764DEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#764DEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764DEC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764DEC#FFFFFF#000000##FFFFFF
##764DEC1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F1
Deuteranopia (green-blind)
#0069E9
Tritanopia (blue-blind)
#4C7596
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #764dec;
/* rgb */ color: rgb(118, 77, 236);
/* oklch */ color: oklch(55.8% 0.225 288.7);
Tailwind
colors: {
  custom: {
    50: '#a782f3',
    500: '#764dec',
    950: '#000000',
  },
}
SCSS
$custom: #764dec;
$custom-light: #a782f3;
$custom-dark: #000000;
JSON
{
  "hex": "#764dec",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 236
  },
  "hsl": {
    "h": 255.472,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55757,
    "c": 0.22548,
    "h": 288.7
  },
  "luminance": 0.15215
}

Semantic roles & 50–950 ramp

primary
#764DEC
secondary
#D9E8AD
accent
#DD08A6
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #764DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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