#764DD5#764DD5

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

Color values

HEX#764DD5
RGBrgb(118, 77, 213)
HSLhsl(258, 62%, 57%)
HSVhsv(258, 64%, 84%)
CMYKcmyk(44.6%, 63.8%, 0%, 16.5%)
CIE-LABlab(44.18, 48.21, -64.18)
CIE-LCHlch(44.18, 80.27, 306.91°)
OKLaboklab(53.95% 0.0754 -0.1835)
OKLCHoklch(53.95% 0.198 292.3)
XYZxyz(22.1320, 13.9627, 64.4669)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764DD5 #ACD54D
analogous
#4D68D5 #764DD5 #BA4DD5
triadic
#764DD5 #D5764D #4DD576
tetradic
#764DD5 #D54D68 #ACD54D #4DD5BA
square
#764DD5 #D54D68 #ACD54D #4DD5BA
split-complementary
#764DD5 #D5BA4D #68D54D
monochromatic
#3F2088 #562CB9 #764DD5 #9C7FE1 #C2B0EC

Accessibility & contrast

On white

5.54
#764DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#764DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764DD5
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764DD5#FFFFFF#000000##FFFFFF
##764DD51.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#0066D2
Tritanopia (blue-blind)
#5A6D8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #764dd5;
/* rgb */ color: rgb(118, 77, 213);
/* oklch */ color: oklch(54.0% 0.198 292.3);
Tailwind
colors: {
  custom: {
    50: '#a481e3',
    500: '#764dd5',
    950: '#000000',
  },
}
SCSS
$custom: #764dd5;
$custom-light: #a481e3;
$custom-dark: #000000;
JSON
{
  "hex": "#764dd5",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 258.088,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53954,
    "c": 0.19834,
    "h": 292.3
  },
  "luminance": 0.13963
}

Semantic roles & 50–950 ramp

primary
#764DD5
secondary
#CADBA3
accent
#E543B4
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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