#764BD6#764BD6

#764BD6 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.7% C 0.202 H 292.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#764BD6
RGBrgb(118, 75, 214)
HSLhsl(259, 63%, 57%)
HSVhsv(259, 65%, 84%)
CMYKcmyk(44.9%, 65%, 0%, 16.1%)
CIE-LABlab(43.85, 49.56, -65.28)
CIE-LCHlch(43.85, 81.97, 307.21°)
OKLaboklab(53.74% 0.0773 -0.1867)
OKLCHoklch(53.74% 0.202 292.5)
XYZxyz(22.1215, 13.7380, 65.0914)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BD6 #ABD64B
analogous
#4B66D6 #764BD6 #BC4BD6
triadic
#764BD6 #D6764B #4BD676
tetradic
#764BD6 #D64B66 #ABD64B #4BD6BC
square
#764BD6 #D64B66 #ABD64B #4BD6BC
split-complementary
#764BD6 #D6BC4B #66D64B
monochromatic
#3F1F88 #572ABA #764BD6 #9C7DE1 #C2AFED

Accessibility & contrast

On white

5.60
#764BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#764BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764BD6
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764BD6#FFFFFF#000000##FFFFFF
##764BD61.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADA
Deuteranopia (green-blind)
#0065D3
Tritanopia (blue-blind)
#5A6C8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #764bd6;
/* rgb */ color: rgb(118, 75, 214);
/* oklch */ color: oklch(53.7% 0.202 292.5);
Tailwind
colors: {
  custom: {
    50: '#a580e4',
    500: '#764bd6',
    950: '#000000',
  },
}
SCSS
$custom: #764bd6;
$custom-light: #a580e4;
$custom-dark: #000000;
JSON
{
  "hex": "#764bd6",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 214
  },
  "hsl": {
    "h": 258.561,
    "s": 62.896,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53742,
    "c": 0.20209,
    "h": 292.5
  },
  "luminance": 0.13739
}

Semantic roles & 50–950 ramp

primary
#764BD6
secondary
#C9DBA2
accent
#E642B3
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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