#764EA4#764EA4

#764EA4 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.7% C 0.136 H 303.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#764EA4
RGBrgb(118, 78, 164)
HSLhsl(268, 36%, 47%)
HSVhsv(268, 52%, 64%)
CMYKcmyk(28%, 52.4%, 0%, 35.7%)
CIE-LABlab(41.19, 34.64, -40.39)
CIE-LCHlch(41.19, 53.21, 310.62°)
OKLaboklab(50.74% 0.0749 -0.1136)
OKLCHoklch(50.74% 0.136 303.4)
XYZxyz(16.8950, 11.9807, 36.5372)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764EA4 #7CA44E
analogous
#4E51A4 #764EA4 #A14EA4
triadic
#764EA4 #A4764E #4EA476
tetradic
#764EA4 #A44E51 #7CA44E #4EA4A1
square
#764EA4 #A44E51 #7CA44E #4EA4A1
split-complementary
#764EA4 #A4A14E #51A44E
monochromatic
#3A2751 #583A7B #764EA4 #9573BC #B49CD0

Accessibility & contrast

On white

6.18
#764EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#764EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764EA4
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764EA4#FFFFFF#000000##FFFFFF
##764EA41.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3260A7
Deuteranopia (green-blind)
#3E61A2
Tritanopia (blue-blind)
#6E5E71
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #764ea4;
/* rgb */ color: rgb(118, 78, 164);
/* oklch */ color: oklch(50.7% 0.136 303.4);
Tailwind
colors: {
  custom: {
    50: '#a081bf',
    500: '#764ea4',
    950: '#000000',
  },
}
SCSS
$custom: #764ea4;
$custom-light: #a081bf;
$custom-dark: #000000;
JSON
{
  "hex": "#764ea4",
  "rgb": {
    "r": 118,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 267.907,
    "s": 35.537,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50738,
    "c": 0.13605,
    "h": 303.4
  },
  "luminance": 0.11981
}

Semantic roles & 50–950 ramp

primary
#764EA4
secondary
#A8BD91
accent
#CC5C98
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #764EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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