#764AE7#764AE7

#764AE7 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.9% C 0.223 H 289.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#764AE7
RGBrgb(118, 74, 231)
HSLhsl(257, 77%, 60%)
HSVhsv(257, 68%, 91%)
CMYKcmyk(48.9%, 68%, 0%, 9.4%)
CIE-LABlab(44.97, 54.73, -73.15)
CIE-LCHlch(44.97, 91.36, 306.80°)
OKLaboklab(54.95% 0.0759 -0.2098)
OKLCHoklch(54.95% 0.223 289.9)
XYZxyz(24.3397, 14.5176, 77.1055)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764AE7 #BBE74A
analogous
#4A6DE7 #764AE7 #C44AE7
triadic
#764AE7 #E7764A #4AE776
tetradic
#764AE7 #E74A6D #BBE74A #4AE7C4
square
#764AE7 #E74A6D #BBE74A #4AE7C4
split-complementary
#764AE7 #E7C44A #6DE74A
monochromatic
#3D15A1 #511DD7 #764AE7 #9F80EE #C8B6F5

Accessibility & contrast

On white

5.38
#764AE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#764AE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764AE7
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764AE7#FFFFFF#000000##FFFFFF
##764AE71.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#0067E4
Tritanopia (blue-blind)
#507293
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #764ae7;
/* rgb */ color: rgb(118, 74, 231);
/* oklch */ color: oklch(54.9% 0.223 289.9);
Tailwind
colors: {
  custom: {
    50: '#a780f0',
    500: '#764ae7',
    950: '#000000',
  },
}
SCSS
$custom: #764ae7;
$custom-light: #a780f0;
$custom-dark: #000000;
JSON
{
  "hex": "#764ae7",
  "rgb": {
    "r": 118,
    "g": 74,
    "b": 231
  },
  "hsl": {
    "h": 256.815,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54948,
    "c": 0.22315,
    "h": 289.9
  },
  "luminance": 0.14519
}

Semantic roles & 50–950 ramp

primary
#764AE7
secondary
#D4E5A8
accent
#F335BE
background
#FAF7FE
surface
#F5EEFD
border
#CFC9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #764AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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