#764AE2#764AE2

#764AE2 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.5% C 0.217 H 290.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#764AE2
RGBrgb(118, 74, 226)
HSLhsl(257, 72%, 59%)
HSVhsv(257, 67%, 89%)
CMYKcmyk(47.8%, 67.3%, 0%, 11.4%)
CIE-LABlab(44.57, 53.36, -70.96)
CIE-LCHlch(44.57, 88.78, 306.94°)
OKLaboklab(54.55% 0.0767 -0.2034)
OKLCHoklch(54.55% 0.217 290.7)
XYZxyz(23.6436, 14.2392, 73.4394)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764AE2 #B6E24A
analogous
#4A6AE2 #764AE2 #C24AE2
triadic
#764AE2 #E2764A #4AE276
tetradic
#764AE2 #E24A6A #B6E24A #4AE2C2
square
#764AE2 #E24A6A #B6E24A #4AE2C2
split-complementary
#764AE2 #E2C24A #6AE24A
monochromatic
#3E1999 #5321CE #764AE2 #9E7FEA #C6B3F3

Accessibility & contrast

On white

5.46
#764AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#764AE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764AE2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764AE2#FFFFFF#000000##FFFFFF
##764AE21.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#0066DF
Tritanopia (blue-blind)
#537090
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #764ae2;
/* rgb */ color: rgb(118, 74, 226);
/* oklch */ color: oklch(54.5% 0.217 290.7);
Tailwind
colors: {
  custom: {
    50: '#a67fec',
    500: '#764ae2',
    950: '#000000',
  },
}
SCSS
$custom: #764ae2;
$custom-light: #a67fec;
$custom-dark: #000000;
JSON
{
  "hex": "#764ae2",
  "rgb": {
    "r": 118,
    "g": 74,
    "b": 226
  },
  "hsl": {
    "h": 257.368,
    "s": 72.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54545,
    "c": 0.21737,
    "h": 290.7
  },
  "luminance": 0.1424
}

Semantic roles & 50–950 ramp

primary
#764AE2
secondary
#D1E2A6
accent
#EF39BA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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