#764CCC#764CCC

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

Color values

HEX#764CCC
RGBrgb(118, 76, 204)
HSLhsl(260, 56%, 55%)
HSVhsv(260, 63%, 80%)
CMYKcmyk(42.2%, 62.7%, 0%, 20%)
CIE-LABlab(43.33, 46.31, -60.38)
CIE-LCHlch(43.33, 76.10, 307.48°)
OKLaboklab(53.13% 0.0772 -0.1723)
OKLCHoklch(53.13% 0.189 294.1)
XYZxyz(20.9518, 13.3795, 58.5936)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CCC #A2CC4C
analogous
#4C62CC #764CCC #B64CCC
triadic
#764CCC #CC764C #4CCC76
tetradic
#764CCC #CC4C62 #A2CC4C #4CCCB6
square
#764CCC #CC4C62 #A2CC4C #4CCCB6
split-complementary
#764CCC #CCB64C #62CC4C
monochromatic
#40237B #5831AA #764CCC #9A7CDA #BFABE7

Accessibility & contrast

On white

5.71
#764CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #764CCC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CCC#FFFFFF#000000##FFFFFF
##764CCC1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#5F6985
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #764ccc;
/* rgb */ color: rgb(118, 76, 204);
/* oklch */ color: oklch(53.1% 0.189 294.1);
Tailwind
colors: {
  custom: {
    50: '#a380dc',
    500: '#764ccc',
    950: '#000000',
  },
}
SCSS
$custom: #764ccc;
$custom-light: #a380dc;
$custom-dark: #000000;
JSON
{
  "hex": "#764ccc",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 204
  },
  "hsl": {
    "h": 259.688,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53134,
    "c": 0.18882,
    "h": 294.1
  },
  "luminance": 0.1338
}

Semantic roles & 50–950 ramp

primary
#764CCC
secondary
#C3D59F
accent
#DF49AE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #764CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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