#764ABB#764ABB

#764ABB is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.6% C 0.171 H 298.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#764ABB
RGBrgb(118, 74, 187)
HSLhsl(263, 45%, 51%)
HSVhsv(263, 60%, 73%)
CMYKcmyk(36.9%, 60.4%, 0%, 26.7%)
CIE-LABlab(41.75, 42.87, -53.06)
CIE-LCHlch(41.75, 68.22, 308.93°)
OKLaboklab(51.61% 0.0805 -0.1508)
OKLCHoklch(51.61% 0.171 298.1)
XYZxyz(18.8874, 12.3367, 48.3902)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764ABB #8FBB4A
analogous
#4A56BB #764ABB #AF4ABB
triadic
#764ABB #BB764A #4ABB76
tetradic
#764ABB #BB4A56 #8FBB4A #4ABBAF
square
#764ABB #BB4A56 #8FBB4A #4ABBAF
split-complementary
#764ABB #BBAF4A #56BB4A
monochromatic
#3E2665 #5A3791 #764ABB #9876CC #B9A3DC

Accessibility & contrast

On white

6.06
#764ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#764ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764ABB
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764ABB#FFFFFF#000000##FFFFFF
##764ABB1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#1D61B9
Tritanopia (blue-blind)
#66627B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #764abb;
/* rgb */ color: rgb(118, 74, 187);
/* oklch */ color: oklch(51.6% 0.171 298.1);
Tailwind
colors: {
  custom: {
    50: '#a27ed0',
    500: '#764abb',
    950: '#000000',
  },
}
SCSS
$custom: #764abb;
$custom-light: #a27ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#764abb",
  "rgb": {
    "r": 118,
    "g": 74,
    "b": 187
  },
  "hsl": {
    "h": 263.363,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5161,
    "c": 0.17093,
    "h": 298.1
  },
  "luminance": 0.12337
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #764ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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