#764DDE#764DDE

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

Color values

HEX#764DDE
RGBrgb(118, 77, 222)
HSLhsl(257, 69%, 59%)
HSVhsv(257, 65%, 87%)
CMYKcmyk(46.8%, 65.3%, 0%, 12.9%)
CIE-LABlab(44.85, 50.68, -68.24)
CIE-LCHlch(44.85, 85.00, 306.60°)
OKLaboklab(54.65% 0.0744 -0.1954)
OKLCHoklch(54.65% 0.209 290.8)
XYZxyz(23.3062, 14.4324, 70.6508)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764DDE #B5DE4D
analogous
#4D6CDE #764DDE #BF4DDE
triadic
#764DDE #DE764D #4DDE76
tetradic
#764DDE #DE4D6C #B5DE4D #4DDEBF
square
#764DDE #DE4D6C #B5DE4D #4DDEBF
split-complementary
#764DDE #DEBF4D #6CDE4D
monochromatic
#3E1C95 #5325C9 #764DDE #9E81E8 #C5B4F1

Accessibility & contrast

On white

5.40
#764DDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#764DDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764DDE
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764DDE#FFFFFF#000000##FFFFFF
##764DDE1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE2
Deuteranopia (green-blind)
#0067DB
Tritanopia (blue-blind)
#55708F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #764dde;
/* rgb */ color: rgb(118, 77, 222);
/* oklch */ color: oklch(54.6% 0.209 290.8);
Tailwind
colors: {
  custom: {
    50: '#a581e9',
    500: '#764dde',
    950: '#000000',
  },
}
SCSS
$custom: #764dde;
$custom-light: #a581e9;
$custom-dark: #000000;
JSON
{
  "hex": "#764dde",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 222
  },
  "hsl": {
    "h": 256.966,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54645,
    "c": 0.20907,
    "h": 290.8
  },
  "luminance": 0.14433
}

Semantic roles & 50–950 ramp

primary
#764DDE
secondary
#D0E0A7
accent
#EC3CBA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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