#764BA5#764BA5

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

Color values

HEX#764BA5
RGBrgb(118, 75, 165)
HSLhsl(269, 38%, 47%)
HSVhsv(269, 55%, 65%)
CMYKcmyk(28.5%, 54.5%, 0%, 35.3%)
CIE-LABlab(40.57, 36.62, -41.96)
CIE-LCHlch(40.57, 55.69, 311.12°)
OKLaboklab(50.31% 0.0791 -0.1182)
OKLCHoklch(50.31% 0.142 303.8)
XYZxyz(16.7773, 11.6004, 36.9452)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BA5 #7AA54B
analogous
#4B4DA5 #764BA5 #A34BA5
triadic
#764BA5 #A5764B #4BA576
tetradic
#764BA5 #A54B4D #7AA54B #4BA5A3
square
#764BA5 #A54B4D #7AA54B #4BA5A3
split-complementary
#764BA5 #A5A34B #4DA54B
monochromatic
#3A2551 #58387B #764BA5 #956FBE #B49AD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##764BA5#FFFFFF#000000##FFFFFF
##764BA51.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)
#2B5FA8
Deuteranopia (green-blind)
#3960A3
Tritanopia (blue-blind)
#6E5C71
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #764ba5;
/* rgb */ color: rgb(118, 75, 165);
/* oklch */ color: oklch(50.3% 0.142 303.8);
Tailwind
colors: {
  custom: {
    50: '#a07fc0',
    500: '#764ba5',
    950: '#000000',
  },
}
SCSS
$custom: #764ba5;
$custom-light: #a07fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#764ba5",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 165
  },
  "hsl": {
    "h": 268.667,
    "s": 37.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50305,
    "c": 0.14218,
    "h": 303.8
  },
  "luminance": 0.116
}

Semantic roles & 50–950 ramp

primary
#764BA5
secondary
#A7BD8F
accent
#CD5A96
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #764BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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