#764DCA#764DCA

#764DCA is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.1% C 0.185 H 294.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#764DCA
RGBrgb(118, 77, 202)
HSLhsl(260, 54%, 55%)
HSVhsv(260, 62%, 79%)
CMYKcmyk(41.6%, 61.9%, 0%, 20.8%)
CIE-LABlab(43.39, 45.22, -59.13)
CIE-LCHlch(43.39, 74.43, 307.41°)
OKLaboklab(53.14% 0.0763 -0.1686)
OKLCHoklch(53.14% 0.185 294.3)
XYZxyz(20.7829, 13.4231, 57.3616)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764DCA #A1CA4D
analogous
#4D63CA #764DCA #B54DCA
triadic
#764DCA #CA764D #4DCA76
tetradic
#764DCA #CA4D63 #A1CA4D #4DCAB5
square
#764DCA #CA4D63 #A1CA4D #4DCAB5
split-complementary
#764DCA #CAB54D #63CA4D
monochromatic
#402479 #5932A8 #764DCA #9A7CD8 #BFABE6

Accessibility & contrast

On white

5.70
#764DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#764DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764DCA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764DCA#FFFFFF#000000##FFFFFF
##764DCA1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#606984
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #764dca;
/* rgb */ color: rgb(118, 77, 202);
/* oklch */ color: oklch(53.1% 0.185 294.3);
Tailwind
colors: {
  custom: {
    50: '#a381db',
    500: '#764dca',
    950: '#000000',
  },
}
SCSS
$custom: #764dca;
$custom-light: #a381db;
$custom-dark: #000000;
JSON
{
  "hex": "#764dca",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 202
  },
  "hsl": {
    "h": 259.68,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53136,
    "c": 0.18504,
    "h": 294.3
  },
  "luminance": 0.13424
}

Semantic roles & 50–950 ramp

primary
#764DCA
secondary
#C2D49F
accent
#DD4AAD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #764DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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