#764BDE#764BDE

#764BDE is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.4% C 0.212 H 291.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#764BDE
RGBrgb(118, 75, 222)
HSLhsl(258, 69%, 58%)
HSVhsv(258, 66%, 87%)
CMYKcmyk(46.8%, 66.2%, 0%, 12.9%)
CIE-LABlab(44.46, 51.75, -68.87)
CIE-LCHlch(44.46, 86.15, 306.92°)
OKLaboklab(54.36% 0.0763 -0.1973)
OKLCHoklch(54.36% 0.212 291.2)
XYZxyz(23.1684, 14.1568, 70.6049)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BDE #B3DE4B
analogous
#4B69DE #764BDE #BF4BDE
triadic
#764BDE #DE764B #4BDE76
tetradic
#764BDE #DE4B69 #B3DE4B #4BDEBF
square
#764BDE #DE4B69 #B3DE4B #4BDEBF
split-complementary
#764BDE #DEBF4B #69DE4B
monochromatic
#3E1B94 #5425C7 #764BDE #9D7FE7 #C5B2F1

Accessibility & contrast

On white

5.48
#764BDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#764BDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764BDE
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764BDE#FFFFFF#000000##FFFFFF
##764BDE1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE3
Deuteranopia (green-blind)
#0066DB
Tritanopia (blue-blind)
#556F8E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #764bde;
/* rgb */ color: rgb(118, 75, 222);
/* oklch */ color: oklch(54.4% 0.212 291.2);
Tailwind
colors: {
  custom: {
    50: '#a680e9',
    500: '#764bde',
    950: '#000000',
  },
}
SCSS
$custom: #764bde;
$custom-light: #a680e9;
$custom-dark: #000000;
JSON
{
  "hex": "#764bde",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 222
  },
  "hsl": {
    "h": 257.551,
    "s": 69.014,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54364,
    "c": 0.21151,
    "h": 291.2
  },
  "luminance": 0.14158
}

Semantic roles & 50–950 ramp

primary
#764BDE
secondary
#CFE0A5
accent
#EC3CB8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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