#764FDD#764FDD

#764FDD is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 54.9% C 0.205 H 290.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#764FDD
RGBrgb(118, 79, 221)
HSLhsl(256, 68%, 59%)
HSVhsv(256, 64%, 87%)
CMYKcmyk(46.6%, 64.3%, 0%, 13.3%)
CIE-LABlab(45.17, 49.33, -67.15)
CIE-LCHlch(45.17, 83.32, 306.30°)
OKLaboklab(54.85% 0.0725 -0.1922)
OKLCHoklch(54.85% 0.205 290.7)
XYZxyz(23.3147, 14.6631, 69.9944)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764FDD #B6DD4F
analogous
#4F6FDD #764FDD #BD4FDD
triadic
#764FDD #DD764F #4FDD76
tetradic
#764FDD #DD4F6F #B6DD4F #4FDDBD
square
#764FDD #DD4F6F #B6DD4F #4FDDBD
split-complementary
#764FDD #DDBD4F #6FDD4F
monochromatic
#3E1D95 #5327C8 #764FDD #9E82E7 #C6B6F1

Accessibility & contrast

On white

5.34
#764FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#764FDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764FDD
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764FDD#FFFFFF#000000##FFFFFF
##764FDD1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE1
Deuteranopia (green-blind)
#0068DA
Tritanopia (blue-blind)
#56718F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #764fdd;
/* rgb */ color: rgb(118, 79, 221);
/* oklch */ color: oklch(54.9% 0.205 290.7);
Tailwind
colors: {
  custom: {
    50: '#a582e9',
    500: '#764fdd',
    950: '#000000',
  },
}
SCSS
$custom: #764fdd;
$custom-light: #a582e9;
$custom-dark: #000000;
JSON
{
  "hex": "#764fdd",
  "rgb": {
    "r": 118,
    "g": 79,
    "b": 221
  },
  "hsl": {
    "h": 256.479,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54854,
    "c": 0.20539,
    "h": 290.7
  },
  "luminance": 0.14664
}

Semantic roles & 50–950 ramp

primary
#764FDD
secondary
#D1E0A8
accent
#EA3DBB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #764FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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