#764BCA#764BCA

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

Color values

HEX#764BCA
RGBrgb(118, 75, 202)
HSLhsl(260, 55%, 54%)
HSVhsv(260, 63%, 79%)
CMYKcmyk(41.6%, 62.9%, 0%, 20.8%)
CIE-LABlab(42.98, 46.31, -59.79)
CIE-LCHlch(42.98, 75.63, 307.76°)
OKLaboklab(52.84% 0.0785 -0.1705)
OKLCHoklch(52.84% 0.188 294.7)
XYZxyz(20.6451, 13.1475, 57.3156)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BCA #9FCA4B
analogous
#4B60CA #764BCA #B64BCA
triadic
#764BCA #CA764B #4BCA76
tetradic
#764BCA #CA4B60 #9FCA4B #4BCAB6
square
#764BCA #CA4B60 #9FCA4B #4BCAB6
split-complementary
#764BCA #CAB64B #60CA4B
monochromatic
#402377 #5931A7 #764BCA #9A7AD8 #BEAAE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##764BCA#FFFFFF#000000##FFFFFF
##764BCA1.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)
#0067CE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#606884
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #764bca;
/* rgb */ color: rgb(118, 75, 202);
/* oklch */ color: oklch(52.8% 0.188 294.7);
Tailwind
colors: {
  custom: {
    50: '#a37fdb',
    500: '#764bca',
    950: '#000000',
  },
}
SCSS
$custom: #764bca;
$custom-light: #a37fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#764bca",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 260.315,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52839,
    "c": 0.18774,
    "h": 294.7
  },
  "luminance": 0.13148
}

Semantic roles & 50–950 ramp

primary
#764BCA
secondary
#C1D39D
accent
#DE4AAC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #764BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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