#764FCC#764FCC

#764FCC is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.6% C 0.185 H 293.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#764FCC
RGBrgb(118, 79, 204)
HSLhsl(259, 55%, 55%)
HSVhsv(259, 61%, 80%)
CMYKcmyk(42.2%, 61.3%, 0%, 20%)
CIE-LABlab(43.95, 44.65, -59.38)
CIE-LCHlch(43.95, 74.30, 306.94°)
OKLaboklab(53.58% 0.0739 -0.1694)
OKLCHoklch(53.58% 0.185 293.6)
XYZxyz(21.1633, 13.8026, 58.6642)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764FCC #A5CC4F
analogous
#4F66CC #764FCC #B44FCC
triadic
#764FCC #CC764F #4FCC76
tetradic
#764FCC #CC4F66 #A5CC4F #4FCCB4
square
#764FCC #CC4F66 #A5CC4F #4FCCB4
split-complementary
#764FCC #CCB44F #66CC4F
monochromatic
#40247D #5832AC #764FCC #9B7EDA #C0AEE7

Accessibility & contrast

On white

5.58
#764FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#764FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764FCC
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764FCC#FFFFFF#000000##FFFFFF
##764FCC1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#5F6B86
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #764fcc;
/* rgb */ color: rgb(118, 79, 204);
/* oklch */ color: oklch(53.6% 0.185 293.6);
Tailwind
colors: {
  custom: {
    50: '#a382dc',
    500: '#764fcc',
    950: '#000000',
  },
}
SCSS
$custom: #764fcc;
$custom-light: #a382dc;
$custom-dark: #000000;
JSON
{
  "hex": "#764fcc",
  "rgb": {
    "r": 118,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 258.72,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53584,
    "c": 0.18478,
    "h": 293.6
  },
  "luminance": 0.13803
}

Semantic roles & 50–950 ramp

primary
#764FCC
secondary
#C5D5A1
accent
#DE49B0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #764FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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