#764ABA#764ABA

#764ABA is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.5% C 0.170 H 298.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#764ABA
RGBrgb(118, 74, 186)
HSLhsl(264, 45%, 51%)
HSVhsv(264, 60%, 73%)
CMYKcmyk(36.6%, 60.2%, 0%, 27.1%)
CIE-LABlab(41.68, 42.61, -52.59)
CIE-LCHlch(41.68, 67.68, 309.01°)
OKLaboklab(51.54% 0.0806 -0.1494)
OKLCHoklch(51.54% 0.17 298.3)
XYZxyz(18.7807, 12.2940, 47.8284)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764ABA #8EBA4A
analogous
#4A56BA #764ABA #AE4ABA
triadic
#764ABA #BA764A #4ABA76
tetradic
#764ABA #BA4A56 #8EBA4A #4ABAAE
square
#764ABA #BA4A56 #8EBA4A #4ABAAE
split-complementary
#764ABA #BAAE4A #56BA4A
monochromatic
#3E2664 #5A3790 #764ABA #9876CB #B9A3DC

Accessibility & contrast

On white

6.07
#764ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#764ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764ABA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764ABA#FFFFFF#000000##FFFFFF
##764ABA1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#1F61B8
Tritanopia (blue-blind)
#67627B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #764aba;
/* rgb */ color: rgb(118, 74, 186);
/* oklch */ color: oklch(51.5% 0.170 298.3);
Tailwind
colors: {
  custom: {
    50: '#a27ecf',
    500: '#764aba',
    950: '#000000',
  },
}
SCSS
$custom: #764aba;
$custom-light: #a27ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#764aba",
  "rgb": {
    "r": 118,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 263.571,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5154,
    "c": 0.16971,
    "h": 298.3
  },
  "luminance": 0.12294
}

Semantic roles & 50–950 ramp

primary
#764ABA
secondary
#B5C997
accent
#D553A2
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #764ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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