#764AE8#764AE8

#764AE8 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.0% C 0.224 H 289.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#764AE8
RGBrgb(118, 74, 232)
HSLhsl(257, 77%, 60%)
HSVhsv(257, 68%, 91%)
CMYKcmyk(49.1%, 68.1%, 0%, 9%)
CIE-LABlab(45.05, 55.00, -73.59)
CIE-LCHlch(45.05, 91.87, 306.77°)
OKLaboklab(55.03% 0.0758 -0.2111)
OKLCHoklch(55.03% 0.224 289.7)
XYZxyz(24.4813, 14.5743, 77.8515)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764AE8 #BCE84A
analogous
#4A6DE8 #764AE8 #C54AE8
triadic
#764AE8 #E8764A #4AE876
tetradic
#764AE8 #E84A6D #BCE84A #4AE8C5
square
#764AE8 #E84A6D #BCE84A #4AE8C5
split-complementary
#764AE8 #E8C54A #6DE84A
monochromatic
#3C15A3 #501CD9 #764AE8 #9F80EF #C8B7F6

Accessibility & contrast

On white

5.36
#764AE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#764AE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764AE8
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764AE8#FFFFFF#000000##FFFFFF
##764AE81.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EED
Deuteranopia (green-blind)
#0067E5
Tritanopia (blue-blind)
#4F7293
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #764ae8;
/* rgb */ color: rgb(118, 74, 232);
/* oklch */ color: oklch(55.0% 0.224 289.7);
Tailwind
colors: {
  custom: {
    50: '#a780f0',
    500: '#764ae8',
    950: '#000000',
  },
}
SCSS
$custom: #764ae8;
$custom-light: #a780f0;
$custom-dark: #000000;
JSON
{
  "hex": "#764ae8",
  "rgb": {
    "r": 118,
    "g": 74,
    "b": 232
  },
  "hsl": {
    "h": 256.709,
    "s": 77.451,
    "l": 60
  },
  "oklch": {
    "l": 0.55029,
    "c": 0.22429,
    "h": 289.7
  },
  "luminance": 0.14575
}

Semantic roles & 50–950 ramp

primary
#764AE8
secondary
#D4E5A8
accent
#F434BE
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110A17
muted
#807C85

Preview Lab

Preview with #764AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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