#764CA7#764CA7

#764CA7 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.6% C 0.143 H 302.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#764CA7
RGBrgb(118, 76, 167)
HSLhsl(268, 37%, 48%)
HSVhsv(268, 54%, 65%)
CMYKcmyk(29.3%, 54.5%, 0%, 34.5%)
CIE-LABlab(40.91, 36.56, -42.60)
CIE-LCHlch(40.91, 56.14, 310.63°)
OKLaboklab(50.59% 0.0778 -0.1201)
OKLCHoklch(50.59% 0.143 302.9)
XYZxyz(17.0291, 11.8105, 37.9342)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CA7 #7DA74C
analogous
#4C4FA7 #764CA7 #A34CA7
triadic
#764CA7 #A7764C #4CA776
tetradic
#764CA7 #A74C4F #7DA74C #4CA7A3
square
#764CA7 #A74C4F #7DA74C #4CA7A3
split-complementary
#764CA7 #A7A34C #4FA74C
monochromatic
#3B2653 #58397D #764CA7 #9572BF #B59CD2

Accessibility & contrast

On white

6.25
#764CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#764CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CA7
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CA7#FFFFFF#000000##FFFFFF
##764CA71.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B60AA
Deuteranopia (green-blind)
#3960A5
Tritanopia (blue-blind)
#6D5D72
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #764ca7;
/* rgb */ color: rgb(118, 76, 167);
/* oklch */ color: oklch(50.6% 0.143 302.9);
Tailwind
colors: {
  custom: {
    50: '#a07fc2',
    500: '#764ca7',
    950: '#000000',
  },
}
SCSS
$custom: #764ca7;
$custom-light: #a07fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#764ca7",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 167
  },
  "hsl": {
    "h": 267.692,
    "s": 37.449,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50594,
    "c": 0.14309,
    "h": 302.9
  },
  "luminance": 0.1181
}

Semantic roles & 50–950 ramp

primary
#764CA7
secondary
#A9BE90
accent
#CD5A98
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #764CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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