#764CC2#764CC2

#764CC2 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.4% C 0.177 H 296.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#764CC2
RGBrgb(118, 76, 194)
HSLhsl(261, 49%, 53%)
HSVhsv(261, 61%, 76%)
CMYKcmyk(39.2%, 60.8%, 0%, 23.9%)
CIE-LABlab(42.63, 43.62, -55.71)
CIE-LCHlch(42.63, 70.76, 308.06°)
OKLaboklab(52.41% 0.0779 -0.1586)
OKLCHoklch(52.41% 0.177 296.2)
XYZxyz(19.7907, 12.9151, 52.4786)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CC2 #98C24C
analogous
#4C5DC2 #764CC2 #B14CC2
triadic
#764CC2 #C2764C #4CC276
tetradic
#764CC2 #C24C5D #98C24C #4CC2B1
square
#764CC2 #C24C5D #98C24C #4CC2B1
split-complementary
#764CC2 #C2B14C #5DC24C
monochromatic
#3F266E #5A359C #764CC2 #997AD2 #BCA7E1

Accessibility & contrast

On white

5.86
#764CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#764CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CC2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CC2#FFFFFF#000000##FFFFFF
##764CC21.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#1163BF
Tritanopia (blue-blind)
#636680
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #764cc2;
/* rgb */ color: rgb(118, 76, 194);
/* oklch */ color: oklch(52.4% 0.177 296.2);
Tailwind
colors: {
  custom: {
    50: '#a280d5',
    500: '#764cc2',
    950: '#000000',
  },
}
SCSS
$custom: #764cc2;
$custom-light: #a280d5;
$custom-dark: #000000;
JSON
{
  "hex": "#764cc2",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 261.356,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52408,
    "c": 0.17665,
    "h": 296.2
  },
  "luminance": 0.12915
}

Semantic roles & 50–950 ramp

primary
#764CC2
secondary
#BCCE9B
accent
#D94FA8
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #764CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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