#764BDB#764BDB

#764BDB is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.1% C 0.208 H 291.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#764BDB
RGBrgb(118, 75, 219)
HSLhsl(258, 67%, 58%)
HSVhsv(258, 66%, 86%)
CMYKcmyk(46.1%, 65.8%, 0%, 14.1%)
CIE-LABlab(44.23, 50.93, -67.53)
CIE-LCHlch(44.23, 84.58, 307.02°)
OKLaboklab(54.13% 0.0767 -0.1933)
OKLCHoklch(54.13% 0.208 291.6)
XYZxyz(22.7699, 13.9974, 68.5061)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BDB #B0DB4B
analogous
#4B68DB #764BDB #BE4BDB
triadic
#764BDB #DB764B #4BDB76
tetradic
#764BDB #DB4B68 #B0DB4B #4BDBBE
square
#764BDB #DB4B68 #B0DB4B #4BDBBE
split-complementary
#764BDB #DBBE4B #68DB4B
monochromatic
#3F1D8F #5527C2 #764BDB #9D7EE5 #C4B1EF

Accessibility & contrast

On white

5.53
#764BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#764BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764BDB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764BDB#FFFFFF#000000##FFFFFF
##764BDB1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#576E8D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #764bdb;
/* rgb */ color: rgb(118, 75, 219);
/* oklch */ color: oklch(54.1% 0.208 291.6);
Tailwind
colors: {
  custom: {
    50: '#a580e7',
    500: '#764bdb',
    950: '#000000',
  },
}
SCSS
$custom: #764bdb;
$custom-light: #a580e7;
$custom-dark: #000000;
JSON
{
  "hex": "#764bdb",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 257.917,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54129,
    "c": 0.20798,
    "h": 291.6
  },
  "luminance": 0.13998
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #764BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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