#764DED#764DED

#764DED is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.8% C 0.227 H 288.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#764DED
RGBrgb(118, 77, 237)
HSLhsl(255, 82%, 62%)
HSVhsv(255, 68%, 93%)
CMYKcmyk(50.2%, 67.5%, 0%, 7.1%)
CIE-LABlab(46.01, 54.82, -74.84)
CIE-LCHlch(46.01, 92.78, 306.22°)
OKLaboklab(55.84% 0.0723 -0.2148)
OKLCHoklch(55.84% 0.227 288.6)
XYZxyz(25.4067, 15.2726, 81.7135)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764DED #C4ED4D
analogous
#4D74ED #764DED #C64DED
triadic
#764DED #ED764D #4DED76
tetradic
#764DED #ED4D74 #C4ED4D #4DEDC6
square
#764DED #ED4D74 #C4ED4D #4DEDC6
split-complementary
#764DED #EDC64D #74ED4D
monochromatic
#3A12AE #4C17E6 #764DED #A185F3 #CCBCF8

Accessibility & contrast

On white

5.18
#764DED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#764DED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764DED
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764DED#FFFFFF#000000##FFFFFF
##764DED1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F2
Deuteranopia (green-blind)
#0069EA
Tritanopia (blue-blind)
#4B7697
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #764ded;
/* rgb */ color: rgb(118, 77, 237);
/* oklch */ color: oklch(55.8% 0.227 288.6);
Tailwind
colors: {
  custom: {
    50: '#a782f4',
    500: '#764ded',
    950: '#000000',
  },
}
SCSS
$custom: #764ded;
$custom-light: #a782f4;
$custom-dark: #000000;
JSON
{
  "hex": "#764ded",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 237
  },
  "hsl": {
    "h": 255.375,
    "s": 81.633,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55839,
    "c": 0.22664,
    "h": 288.6
  },
  "luminance": 0.15274
}

Semantic roles & 50–950 ramp

primary
#764DED
secondary
#D9E9AD
accent
#DE07A7
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #764DED

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

Preview Lab → · Contrast checker → · Palette generator →

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