#764BDD#764BDD

#764BDD is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.3% C 0.210 H 291.3°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#764BDD
RGBrgb(118, 75, 221)
HSLhsl(258, 68%, 58%)
HSVhsv(258, 66%, 87%)
CMYKcmyk(46.6%, 66.1%, 0%, 13.3%)
CIE-LABlab(44.38, 51.47, -68.43)
CIE-LCHlch(44.38, 85.63, 306.95°)
OKLaboklab(54.29% 0.0765 -0.196)
OKLCHoklch(54.29% 0.21 291.3)
XYZxyz(23.0348, 14.1033, 69.9011)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BDD #B2DD4B
analogous
#4B69DD #764BDD #BF4BDD
triadic
#764BDD #DD764B #4BDD76
tetradic
#764BDD #DD4B69 #B2DD4B #4BDDBF
square
#764BDD #DD4B69 #B2DD4B #4BDDBF
split-complementary
#764BDD #DDBF4B #69DD4B
monochromatic
#3E1C92 #5425C5 #764BDD #9D7EE7 #C4B2F0

Accessibility & contrast

On white

5.50
#764BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#764BDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764BDD
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764BDD#FFFFFF#000000##FFFFFF
##764BDD1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE1
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#566F8E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #764bdd;
/* rgb */ color: rgb(118, 75, 221);
/* oklch */ color: oklch(54.3% 0.210 291.3);
Tailwind
colors: {
  custom: {
    50: '#a580e9',
    500: '#764bdd',
    950: '#000000',
  },
}
SCSS
$custom: #764bdd;
$custom-light: #a580e9;
$custom-dark: #000000;
JSON
{
  "hex": "#764bdd",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 221
  },
  "hsl": {
    "h": 257.671,
    "s": 68.224,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54286,
    "c": 0.21034,
    "h": 291.3
  },
  "luminance": 0.14104
}

Semantic roles & 50–950 ramp

primary
#764BDD
secondary
#CEDFA5
accent
#EB3DB8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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