#764CC7#764CC7

#764CC7 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.8% C 0.183 H 295.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#764CC7
RGBrgb(118, 76, 199)
HSLhsl(260, 52%, 54%)
HSVhsv(260, 62%, 78%)
CMYKcmyk(40.7%, 61.8%, 0%, 22%)
CIE-LABlab(42.98, 44.96, -58.06)
CIE-LCHlch(42.98, 73.43, 307.75°)
OKLaboklab(52.77% 0.0776 -0.1655)
OKLCHoklch(52.77% 0.183 295.1)
XYZxyz(20.3617, 13.1435, 55.4859)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CC7 #9DC74C
analogous
#4C60C7 #764CC7 #B44CC7
triadic
#764CC7 #C7764C #4CC776
tetradic
#764CC7 #C74C60 #9DC74C #4CC7B4
square
#764CC7 #C74C60 #9DC74C #4CC7B4
split-complementary
#764CC7 #C7B44C #60C74C
monochromatic
#402474 #5933A3 #764CC7 #9A7BD6 #BDA9E4

Accessibility & contrast

On white

5.79
#764CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#764CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CC7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CC7#FFFFFF#000000##FFFFFF
##764CC71.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#0064C4
Tritanopia (blue-blind)
#616882
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #764cc7;
/* rgb */ color: rgb(118, 76, 199);
/* oklch */ color: oklch(52.8% 0.183 295.1);
Tailwind
colors: {
  custom: {
    50: '#a380d9',
    500: '#764cc7',
    950: '#000000',
  },
}
SCSS
$custom: #764cc7;
$custom-light: #a380d9;
$custom-dark: #000000;
JSON
{
  "hex": "#764cc7",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 260.488,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52768,
    "c": 0.18275,
    "h": 295.1
  },
  "luminance": 0.13144
}

Semantic roles & 50–950 ramp

primary
#764CC7
secondary
#C0D29D
accent
#DC4CAB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #764CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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