#764CA1#764CA1

#764CA1 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.2% C 0.136 H 304.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#764CA1
RGBrgb(118, 76, 161)
HSLhsl(270, 36%, 46%)
HSVhsv(270, 53%, 63%)
CMYKcmyk(26.7%, 52.8%, 0%, 36.9%)
CIE-LABlab(40.56, 35.05, -39.59)
CIE-LCHlch(40.56, 52.87, 311.52°)
OKLaboklab(50.22% 0.0774 -0.1113)
OKLCHoklch(50.22% 0.136 304.8)
XYZxyz(16.4873, 11.5937, 35.0805)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CA1 #77A14C
analogous
#4C4DA1 #764CA1 #A14CA1
triadic
#764CA1 #A1764C #4CA176
tetradic
#764CA1 #A14C4D #77A14C #4CA1A1
square
#764CA1 #A14C4D #77A14C #4CA1A1
split-complementary
#764CA1 #A1A14C #4DA14C
monochromatic
#39254E #583877 #764CA1 #956FBB #B399CF

Accessibility & contrast

On white

6.33
#764CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#764CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CA1
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CA1#FFFFFF#000000##FFFFFF
##764CA11.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315EA4
Deuteranopia (green-blind)
#3E609F
Tritanopia (blue-blind)
#6F5B6F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #764ca1;
/* rgb */ color: rgb(118, 76, 161);
/* oklch */ color: oklch(50.2% 0.136 304.8);
Tailwind
colors: {
  custom: {
    50: '#a07fbd',
    500: '#764ca1',
    950: '#000000',
  },
}
SCSS
$custom: #764ca1;
$custom-light: #a07fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#764ca1",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 161
  },
  "hsl": {
    "h": 269.647,
    "s": 35.865,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50221,
    "c": 0.13553,
    "h": 304.8
  },
  "luminance": 0.11594
}

Semantic roles & 50–950 ramp

primary
#764CA1
secondary
#A5BB8E
accent
#CC5C95
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #764CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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