#764DDD#764DDD

#764DDD is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.6% C 0.208 H 291.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#764DDD
RGBrgb(118, 77, 221)
HSLhsl(257, 68%, 58%)
HSVhsv(257, 65%, 87%)
CMYKcmyk(46.6%, 65.2%, 0%, 13.3%)
CIE-LABlab(44.77, 50.41, -67.79)
CIE-LCHlch(44.77, 84.48, 306.63°)
OKLaboklab(54.57% 0.0745 -0.1941)
OKLCHoklch(54.57% 0.208 291)
XYZxyz(23.1726, 14.3789, 69.9471)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764DDD #B4DD4D
analogous
#4D6CDD #764DDD #BE4DDD
triadic
#764DDD #DD764D #4DDD76
tetradic
#764DDD #DD4D6C #B4DD4D #4DDDBE
square
#764DDD #DD4D6C #B4DD4D #4DDDBE
split-complementary
#764DDD #DDBE4D #6CDD4D
monochromatic
#3E1C93 #5426C7 #764DDD #9E80E7 #C5B4F1

Accessibility & contrast

On white

5.42
#764DDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#764DDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764DDD
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764DDD#FFFFFF#000000##FFFFFF
##764DDD1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE1
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#56708E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #764ddd;
/* rgb */ color: rgb(118, 77, 221);
/* oklch */ color: oklch(54.6% 0.208 291.0);
Tailwind
colors: {
  custom: {
    50: '#a581e9',
    500: '#764ddd',
    950: '#000000',
  },
}
SCSS
$custom: #764ddd;
$custom-light: #a581e9;
$custom-dark: #000000;
JSON
{
  "hex": "#764ddd",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 221
  },
  "hsl": {
    "h": 257.083,
    "s": 67.925,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54567,
    "c": 0.20788,
    "h": 291
  },
  "luminance": 0.1438
}

Semantic roles & 50–950 ramp

primary
#764DDD
secondary
#CFDFA6
accent
#EB3DB9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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