#764CC9#764CC9

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

Color values

HEX#764CC9
RGBrgb(118, 76, 201)
HSLhsl(260, 54%, 54%)
HSVhsv(260, 62%, 79%)
CMYKcmyk(41.3%, 62.2%, 0%, 21.2%)
CIE-LABlab(43.12, 45.50, -58.99)
CIE-LCHlch(43.12, 74.50, 307.64°)
OKLaboklab(52.91% 0.0775 -0.1682)
OKLCHoklch(52.91% 0.185 294.7)
XYZxyz(20.5955, 13.2370, 56.7169)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CC9 #9FC94C
analogous
#4C61C9 #764CC9 #B54CC9
triadic
#764CC9 #C9764C #4CC976
tetradic
#764CC9 #C94C61 #9FC94C #4CC9B5
square
#764CC9 #C94C61 #9FC94C #4CC9B5
split-complementary
#764CC9 #C9B54C #61C94C
monochromatic
#402477 #5932A6 #764CC9 #9A7BD7 #BEAAE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##764CC9#FFFFFF#000000##FFFFFF
##764CC91.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)
#0067CD
Deuteranopia (green-blind)
#0064C6
Tritanopia (blue-blind)
#606883
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #764cc9;
/* rgb */ color: rgb(118, 76, 201);
/* oklch */ color: oklch(52.9% 0.185 294.7);
Tailwind
colors: {
  custom: {
    50: '#a380da',
    500: '#764cc9',
    950: '#000000',
  },
}
SCSS
$custom: #764cc9;
$custom-light: #a380da;
$custom-dark: #000000;
JSON
{
  "hex": "#764cc9",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 201
  },
  "hsl": {
    "h": 260.16,
    "s": 53.648,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52913,
    "c": 0.18518,
    "h": 294.7
  },
  "luminance": 0.13237
}

Semantic roles & 50–950 ramp

primary
#764CC9
secondary
#C1D39E
accent
#DD4BAC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #764CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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