#764A9B#764A9B

#764A9B is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.5% C 0.131 H 307.4°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#764A9B
RGBrgb(118, 74, 155)
HSLhsl(273, 35%, 45%)
HSVhsv(273, 52%, 61%)
CMYKcmyk(23.9%, 52.3%, 0%, 39.2%)
CIE-LABlab(39.77, 34.72, -37.24)
CIE-LCHlch(39.77, 50.92, 312.99°)
OKLaboklab(49.53% 0.0797 -0.1044)
OKLCHoklch(49.53% 0.131 307.4)
XYZxyz(15.8352, 11.1158, 32.3154)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764A9B #6F9B4A
analogous
#4E4A9B #764A9B #9B4A97
triadic
#764A9B #9B764A #4A9B76
tetradic
#764A9B #9B4E4A #6F9B4A #4A979B
square
#764A9B #9B4E4A #6F9B4A #4A979B
split-complementary
#764A9B #979B4A #4A9B4E
monochromatic
#372248 #563672 #764A9B #946AB8 #B294CC

Accessibility & contrast

On white

6.52
#764A9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#764A9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764A9B
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764A9B#FFFFFF#000000##FFFFFF
##764A9B1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335C9E
Deuteranopia (green-blind)
#405E99
Tritanopia (blue-blind)
#71586B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #764a9b;
/* rgb */ color: rgb(118, 74, 155);
/* oklch */ color: oklch(49.5% 0.131 307.4);
Tailwind
colors: {
  custom: {
    50: '#a07eb9',
    500: '#764a9b',
    950: '#000000',
  },
}
SCSS
$custom: #764a9b;
$custom-light: #a07eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#764a9b",
  "rgb": {
    "r": 118,
    "g": 74,
    "b": 155
  },
  "hsl": {
    "h": 272.593,
    "s": 35.371,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49527,
    "c": 0.13135,
    "h": 307.4
  },
  "luminance": 0.11116
}

Semantic roles & 50–950 ramp

primary
#764A9B
secondary
#9EB889
accent
#CB5C8F
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #764A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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