#764BDC#764BDC

#764BDC is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.2% C 0.209 H 291.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#764BDC
RGBrgb(118, 75, 220)
HSLhsl(258, 67%, 58%)
HSVhsv(258, 66%, 86%)
CMYKcmyk(46.4%, 65.9%, 0%, 13.7%)
CIE-LABlab(44.30, 51.20, -67.98)
CIE-LCHlch(44.30, 85.10, 306.98°)
OKLaboklab(54.21% 0.0766 -0.1946)
OKLCHoklch(54.21% 0.209 291.5)
XYZxyz(22.9019, 14.0502, 69.2015)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BDC #B1DC4B
analogous
#4B68DC #764BDC #BE4BDC
triadic
#764BDC #DC764B #4BDC76
tetradic
#764BDC #DC4B68 #B1DC4B #4BDCBE
square
#764BDC #DC4B68 #B1DC4B #4BDCBE
split-complementary
#764BDC #DCBE4B #68DC4B
monochromatic
#3F1C91 #5526C4 #764BDC #9D7EE6 #C4B1F0

Accessibility & contrast

On white

5.51
#764BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#764BDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764BDC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764BDC#FFFFFF#000000##FFFFFF
##764BDC1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#566E8D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #764bdc;
/* rgb */ color: rgb(118, 75, 220);
/* oklch */ color: oklch(54.2% 0.209 291.5);
Tailwind
colors: {
  custom: {
    50: '#a580e8',
    500: '#764bdc',
    950: '#000000',
  },
}
SCSS
$custom: #764bdc;
$custom-light: #a580e8;
$custom-dark: #000000;
JSON
{
  "hex": "#764bdc",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 220
  },
  "hsl": {
    "h": 257.793,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54208,
    "c": 0.20917,
    "h": 291.5
  },
  "luminance": 0.14051
}

Semantic roles & 50–950 ramp

primary
#764BDC
secondary
#CDDEA4
accent
#EA3DB7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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