#764ACB#764ACB

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

Color values

HEX#764ACB
RGBrgb(118, 74, 203)
HSLhsl(260, 55%, 54%)
HSVhsv(260, 64%, 80%)
CMYKcmyk(41.9%, 63.5%, 0%, 20.4%)
CIE-LABlab(42.85, 47.13, -60.58)
CIE-LCHlch(42.85, 76.75, 307.88°)
OKLaboklab(52.77% 0.0795 -0.1729)
OKLCHoklch(52.77% 0.19 294.7)
XYZxyz(20.6966, 13.0604, 57.9188)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764ACB #9FCB4A
analogous
#4A5FCB #764ACB #B74ACB
triadic
#764ACB #CB764A #4ACB76
tetradic
#764ACB #CB4A5F #9FCB4A #4ACBB7
square
#764ACB #CB4A5F #9FCB4A #4ACBB7
split-complementary
#764ACB #CBB74A #5FCB4A
monochromatic
#402378 #5930A8 #764ACB #9A7AD9 #BEA9E6

Accessibility & contrast

On white

5.81
#764ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#764ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764ACB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764ACB#FFFFFF#000000##FFFFFF
##764ACB1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#5F6884
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #764acb;
/* rgb */ color: rgb(118, 74, 203);
/* oklch */ color: oklch(52.8% 0.190 294.7);
Tailwind
colors: {
  custom: {
    50: '#a47fdc',
    500: '#764acb',
    950: '#000000',
  },
}
SCSS
$custom: #764acb;
$custom-light: #a47fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#764acb",
  "rgb": {
    "r": 118,
    "g": 74,
    "b": 203
  },
  "hsl": {
    "h": 260.465,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52767,
    "c": 0.19027,
    "h": 294.7
  },
  "luminance": 0.13061
}

Semantic roles & 50–950 ramp

primary
#764ACB
secondary
#C1D49D
accent
#DF49AC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #764ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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