#764DD6#764DD6

#764DD6 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.0% C 0.200 H 292.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#764DD6
RGBrgb(118, 77, 214)
HSLhsl(258, 63%, 57%)
HSVhsv(258, 64%, 84%)
CMYKcmyk(44.9%, 64%, 0%, 16.1%)
CIE-LABlab(44.25, 48.49, -64.64)
CIE-LCHlch(44.25, 80.80, 306.88°)
OKLaboklab(54.03% 0.0753 -0.1848)
OKLCHoklch(54.03% 0.2 292.2)
XYZxyz(22.2593, 14.0136, 65.1374)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764DD6 #ADD64D
analogous
#4D69D6 #764DD6 #BA4DD6
triadic
#764DD6 #D6764D #4DD676
tetradic
#764DD6 #D64D69 #ADD64D #4DD6BA
square
#764DD6 #D64D69 #ADD64D #4DD6BA
split-complementary
#764DD6 #D6BA4D #69D64D
monochromatic
#3F2089 #562BBB #764DD6 #9C7FE1 #C3B0ED

Accessibility & contrast

On white

5.52
#764DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#764DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764DD6
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764DD6#FFFFFF#000000##FFFFFF
##764DD61.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDA
Deuteranopia (green-blind)
#0066D3
Tritanopia (blue-blind)
#5A6D8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #764dd6;
/* rgb */ color: rgb(118, 77, 214);
/* oklch */ color: oklch(54.0% 0.200 292.2);
Tailwind
colors: {
  custom: {
    50: '#a581e4',
    500: '#764dd6',
    950: '#000000',
  },
}
SCSS
$custom: #764dd6;
$custom-light: #a581e4;
$custom-dark: #000000;
JSON
{
  "hex": "#764dd6",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 214
  },
  "hsl": {
    "h": 257.956,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5403,
    "c": 0.19954,
    "h": 292.2
  },
  "luminance": 0.14014
}

Semantic roles & 50–950 ramp

primary
#764DD6
secondary
#CBDBA4
accent
#E642B5
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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