#764CC0#764CC0

#764CC0 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.174 H 296.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#764CC0
RGBrgb(118, 76, 192)
HSLhsl(262, 48%, 53%)
HSVhsv(262, 60%, 75%)
CMYKcmyk(38.5%, 60.4%, 0%, 24.7%)
CIE-LABlab(42.50, 43.08, -54.77)
CIE-LCHlch(42.50, 69.68, 308.19°)
OKLaboklab(52.27% 0.078 -0.1558)
OKLCHoklch(52.27% 0.174 296.6)
XYZxyz(19.5676, 12.8259, 51.3037)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CC0 #96C04C
analogous
#4C5CC0 #764CC0 #B04CC0
triadic
#764CC0 #C0764C #4CC076
tetradic
#764CC0 #C04C5C #96C04C #4CC0B0
square
#764CC0 #C04C5C #96C04C #4CC0B0
split-complementary
#764CC0 #C0B04C #5CC04C
monochromatic
#3F266C #5A3699 #764CC0 #9979D0 #BBA7E0

Accessibility & contrast

On white

5.89
#764CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#764CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CC0
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CC0#FFFFFF#000000##FFFFFF
##764CC01.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#1763BD
Tritanopia (blue-blind)
#64657F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #764cc0;
/* rgb */ color: rgb(118, 76, 192);
/* oklch */ color: oklch(52.3% 0.174 296.6);
Tailwind
colors: {
  custom: {
    50: '#a280d4',
    500: '#764cc0',
    950: '#000000',
  },
}
SCSS
$custom: #764cc0;
$custom-light: #a280d4;
$custom-dark: #000000;
JSON
{
  "hex": "#764cc0",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 192
  },
  "hsl": {
    "h": 261.724,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52267,
    "c": 0.1742,
    "h": 296.6
  },
  "luminance": 0.12826
}

Semantic roles & 50–950 ramp

primary
#764CC0
secondary
#BBCD9B
accent
#D850A7
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #764CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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