#764AC8#764AC8

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

Color values

HEX#764AC8
RGBrgb(118, 74, 200)
HSLhsl(261, 53%, 54%)
HSVhsv(261, 63%, 78%)
CMYKcmyk(41%, 63%, 0%, 21.6%)
CIE-LABlab(42.64, 46.32, -59.19)
CIE-LCHlch(42.64, 75.16, 308.05°)
OKLaboklab(52.54% 0.0798 -0.1688)
OKLCHoklch(52.54% 0.187 295.3)
XYZxyz(20.3426, 12.9188, 56.0542)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764AC8 #9CC84A
analogous
#4A5DC8 #764AC8 #B54AC8
triadic
#764AC8 #C8764A #4AC876
tetradic
#764AC8 #C84A5D #9CC84A #4AC8B5
square
#764AC8 #C84A5D #9CC84A #4AC8B5
split-complementary
#764AC8 #C8B54A #5DC84A
monochromatic
#402374 #5932A3 #764AC8 #9A79D6 #BDA8E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##764AC8#FFFFFF#000000##FFFFFF
##764AC81.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)
#0066CC
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#616782
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #764ac8;
/* rgb */ color: rgb(118, 74, 200);
/* oklch */ color: oklch(52.5% 0.187 295.3);
Tailwind
colors: {
  custom: {
    50: '#a37fd9',
    500: '#764ac8',
    950: '#000000',
  },
}
SCSS
$custom: #764ac8;
$custom-light: #a37fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#764ac8",
  "rgb": {
    "r": 118,
    "g": 74,
    "b": 200
  },
  "hsl": {
    "h": 260.952,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52544,
    "c": 0.18668,
    "h": 295.3
  },
  "luminance": 0.12919
}

Semantic roles & 50–950 ramp

primary
#764AC8
secondary
#BFD29C
accent
#DD4BAA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #764AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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