#764BCC#764BCC

#764BCC is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.0% C 0.190 H 294.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#764BCC
RGBrgb(118, 75, 204)
HSLhsl(260, 56%, 55%)
HSVhsv(260, 63%, 80%)
CMYKcmyk(42.2%, 63.2%, 0%, 20%)
CIE-LABlab(43.13, 46.85, -60.71)
CIE-LCHlch(43.13, 76.69, 307.66°)
OKLaboklab(52.99% 0.0783 -0.1733)
OKLCHoklch(52.99% 0.19 294.3)
XYZxyz(20.8835, 13.2428, 58.5709)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BCC #A1CC4B
analogous
#4B61CC #764BCC #B74BCC
triadic
#764BCC #CC764B #4BCC76
tetradic
#764BCC #CC4B61 #A1CC4B #4BCCB7
square
#764BCC #CC4B61 #A1CC4B #4BCCB7
split-complementary
#764BCC #CCB74B #61CC4B
monochromatic
#40237A #5930AA #764BCC #9A7BDA #BFAAE7

Accessibility & contrast

On white

5.76
#764BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#764BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764BCC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764BCC#FFFFFF#000000##FFFFFF
##764BCC1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #764bcc;
/* rgb */ color: rgb(118, 75, 204);
/* oklch */ color: oklch(53.0% 0.190 294.3);
Tailwind
colors: {
  custom: {
    50: '#a47fdc',
    500: '#764bcc',
    950: '#000000',
  },
}
SCSS
$custom: #764bcc;
$custom-light: #a47fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#764bcc",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 204
  },
  "hsl": {
    "h": 260,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52987,
    "c": 0.19015,
    "h": 294.3
  },
  "luminance": 0.13243
}

Semantic roles & 50–950 ramp

primary
#764BCC
secondary
#C2D59E
accent
#DF49AD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #764BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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