#764CDC#764CDC

#764CDC is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.3% C 0.208 H 291.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#764CDC
RGBrgb(118, 76, 220)
HSLhsl(258, 67%, 58%)
HSVhsv(258, 65%, 86%)
CMYKcmyk(46.4%, 65.5%, 0%, 13.7%)
CIE-LABlab(44.50, 50.67, -67.66)
CIE-LCHlch(44.50, 84.53, 306.83°)
OKLaboklab(54.35% 0.0756 -0.1937)
OKLCHoklch(54.35% 0.208 291.3)
XYZxyz(22.9703, 14.1869, 69.2243)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CDC #B2DC4C
analogous
#4C6ADC #764CDC #BE4CDC
triadic
#764CDC #DC764C #4CDC76
tetradic
#764CDC #DC4C6A #B2DC4C #4CDCBE
square
#764CDC #DC4C6A #B2DC4C #4CDCBE
split-complementary
#764CDC #DCBE4C #6ADC4C
monochromatic
#3E1C91 #5426C4 #764CDC #9D7FE6 #C4B2F0

Accessibility & contrast

On white

5.47
#764CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#764CDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CDC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CDC#FFFFFF#000000##FFFFFF
##764CDC1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#566F8D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #764cdc;
/* rgb */ color: rgb(118, 76, 220);
/* oklch */ color: oklch(54.3% 0.208 291.3);
Tailwind
colors: {
  custom: {
    50: '#a581e8',
    500: '#764cdc',
    950: '#000000',
  },
}
SCSS
$custom: #764cdc;
$custom-light: #a581e8;
$custom-dark: #000000;
JSON
{
  "hex": "#764cdc",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 220
  },
  "hsl": {
    "h": 257.5,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54348,
    "c": 0.20794,
    "h": 291.3
  },
  "luminance": 0.14188
}

Semantic roles & 50–950 ramp

primary
#764CDC
secondary
#CEDFA5
accent
#EA3EB8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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