#764DC7#764DC7

#764DC7 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.9% C 0.181 H 294.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#764DC7
RGBrgb(118, 77, 199)
HSLhsl(260, 52%, 54%)
HSVhsv(260, 61%, 78%)
CMYKcmyk(40.7%, 61.3%, 0%, 22%)
CIE-LABlab(43.19, 44.41, -57.73)
CIE-LCHlch(43.19, 72.83, 307.57°)
OKLaboklab(52.92% 0.0765 -0.1645)
OKLCHoklch(52.92% 0.181 294.9)
XYZxyz(20.4312, 13.2824, 55.5091)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764DC7 #9EC74D
analogous
#4D61C7 #764DC7 #B34DC7
triadic
#764DC7 #C7764D #4DC776
tetradic
#764DC7 #C74D61 #9EC74D #4DC7B3
square
#764DC7 #C74D61 #9EC74D #4DC7B3
split-complementary
#764DC7 #C7B34D #61C74D
monochromatic
#402575 #5933A3 #764DC7 #9A7CD6 #BEAAE4

Accessibility & contrast

On white

5.74
#764DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#764DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764DC7
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764DC7#FFFFFF#000000##FFFFFF
##764DC71.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#0164C4
Tritanopia (blue-blind)
#616883
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #764dc7;
/* rgb */ color: rgb(118, 77, 199);
/* oklch */ color: oklch(52.9% 0.181 294.9);
Tailwind
colors: {
  custom: {
    50: '#a381d9',
    500: '#764dc7',
    950: '#000000',
  },
}
SCSS
$custom: #764dc7;
$custom-light: #a381d9;
$custom-dark: #000000;
JSON
{
  "hex": "#764dc7",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 260.164,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52918,
    "c": 0.18139,
    "h": 294.9
  },
  "luminance": 0.13283
}

Semantic roles & 50–950 ramp

primary
#764DC7
secondary
#C0D29E
accent
#DC4CAB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #764DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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