#764EA2#764EA2

#764EA2 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.6% C 0.133 H 304.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#764EA2
RGBrgb(118, 78, 162)
HSLhsl(269, 35%, 47%)
HSVhsv(269, 52%, 64%)
CMYKcmyk(27.2%, 51.9%, 0%, 36.5%)
CIE-LABlab(41.07, 34.14, -39.38)
CIE-LCHlch(41.07, 52.11, 310.93°)
OKLaboklab(50.62% 0.0747 -0.1106)
OKLCHoklch(50.62% 0.133 304)
XYZxyz(16.7158, 11.9090, 35.5935)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764EA2 #7AA24E
analogous
#4E50A2 #764EA2 #A04EA2
triadic
#764EA2 #A2764E #4EA276
tetradic
#764EA2 #A24E50 #7AA24E #4EA2A0
square
#764EA2 #A24E50 #7AA24E #4EA2A0
split-complementary
#764EA2 #A2A04E #50A24E
monochromatic
#3A264F #583A79 #764EA2 #9572BB #B49BCF

Accessibility & contrast

On white

6.21
#764EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#764EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764EA2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764EA2#FFFFFF#000000##FFFFFF
##764EA21.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A5
Deuteranopia (green-blind)
#3F61A0
Tritanopia (blue-blind)
#6E5D70
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #764ea2;
/* rgb */ color: rgb(118, 78, 162);
/* oklch */ color: oklch(50.6% 0.133 304.0);
Tailwind
colors: {
  custom: {
    50: '#a081be',
    500: '#764ea2',
    950: '#000000',
  },
}
SCSS
$custom: #764ea2;
$custom-light: #a081be;
$custom-dark: #000000;
JSON
{
  "hex": "#764ea2",
  "rgb": {
    "r": 118,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 268.571,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50616,
    "c": 0.13349,
    "h": 304
  },
  "luminance": 0.11909
}

Semantic roles & 50–950 ramp

primary
#764EA2
secondary
#A7BC90
accent
#CB5D97
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #764EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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