#764AE5#764AE5

#764AE5 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.8% C 0.221 H 290.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#764AE5
RGBrgb(118, 74, 229)
HSLhsl(257, 75%, 59%)
HSVhsv(257, 68%, 90%)
CMYKcmyk(48.5%, 67.7%, 0%, 10.2%)
CIE-LABlab(44.81, 54.18, -72.28)
CIE-LCHlch(44.81, 90.33, 306.86°)
OKLaboklab(54.79% 0.0762 -0.2073)
OKLCHoklch(54.79% 0.221 290.2)
XYZxyz(24.0588, 14.4053, 75.6264)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764AE5 #B9E54A
analogous
#4A6CE5 #764AE5 #C34AE5
triadic
#764AE5 #E5764A #4AE576
tetradic
#764AE5 #E54A6C #B9E54A #4AE5C3
square
#764AE5 #E54A6C #B9E54A #4AE5C3
split-complementary
#764AE5 #E5C34A #6CE54A
monochromatic
#3D179E #521ED3 #764AE5 #9F80ED #C7B5F4

Accessibility & contrast

On white

5.41
#764AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#764AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764AE5
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764AE5#FFFFFF#000000##FFFFFF
##764AE51.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEA
Deuteranopia (green-blind)
#0066E2
Tritanopia (blue-blind)
#517192
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #764ae5;
/* rgb */ color: rgb(118, 74, 229);
/* oklch */ color: oklch(54.8% 0.221 290.2);
Tailwind
colors: {
  custom: {
    50: '#a680ee',
    500: '#764ae5',
    950: '#000000',
  },
}
SCSS
$custom: #764ae5;
$custom-light: #a680ee;
$custom-dark: #000000;
JSON
{
  "hex": "#764ae5",
  "rgb": {
    "r": 118,
    "g": 74,
    "b": 229
  },
  "hsl": {
    "h": 257.032,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54786,
    "c": 0.22084,
    "h": 290.2
  },
  "luminance": 0.14406
}

Semantic roles & 50–950 ramp

primary
#764AE5
secondary
#D2E4A7
accent
#F136BC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #764AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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